This commit is contained in:
Aung Myo
2017-07-03 13:22:02 +06:30
parent 92712787e1
commit e3477fd268
2 changed files with 1 additions and 5 deletions

View File

@@ -337,7 +337,7 @@ class SalePayment < ApplicationRecord
:headers => {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}, :timeout => 100)
}, :timeout => 10)
rescue Net::OpenTimeout
response = { status: false , message: "Server Time out"}