mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
chore: Add timeouts to requests (#2024)
This commit is contained in:
@@ -16,7 +16,8 @@ class LocalResource
|
||||
end
|
||||
|
||||
def io
|
||||
@io ||= uri.open
|
||||
# TODO: should we use RestClient here too ?
|
||||
@io ||= uri.open(read_timeout: 5)
|
||||
end
|
||||
|
||||
def encoding
|
||||
|
||||
Reference in New Issue
Block a user