mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_statement_import_online_gocardless: Increase timeout
It turns out that the timeout is for receiving whole answer, so in real tests, the previous timeout was not enough for getting the answer when there are some transactions load (like a month). Let's increase this timeout then to a reasonable amount.
This commit is contained in:
@@ -14,7 +14,7 @@ from odoo.exceptions import UserError
|
||||
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
|
||||
|
||||
GOCARDLESS_ENDPOINT = "https://bankaccountdata.gocardless.com/api/v2"
|
||||
REQUESTS_TIMEOUT = 5
|
||||
REQUESTS_TIMEOUT = 60
|
||||
|
||||
|
||||
class OnlineBankStatementProvider(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user