Browse Source

fix

tags/v4.0.0^2
yystopf 4 years ago
parent
commit
e3df503dd2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/services/notice/write/client_service.rb

+ 2
- 0
app/services/notice/write/client_service.rb View File

@@ -59,6 +59,8 @@ class Notice::Write::ClientService < ApplicationService
req.request :url_encoded
req.headers['Content-Type'] = 'application/json'
req.adapter Faraday.default_adapter
req.options.timeout = 100 # open/read timeout in seconds
req.options.open_timeout = 10 # connection open timeout in seconds
end
end



Loading…
Cancel
Save