From 2aea36c864c4c11fdfd4b9c1fa318d96f845d7cf Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Fri, 1 Nov 2019 20:23:32 +0200 Subject: [PATCH] Changed connection timeouts, default to 30sec --- trains_agent/backend_api/session/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trains_agent/backend_api/session/session.py b/trains_agent/backend_api/session/session.py index e4dfe1d..34ceb45 100644 --- a/trains_agent/backend_api/session/session.py +++ b/trains_agent/backend_api/session/session.py @@ -38,9 +38,9 @@ class Session(TokenManager): _async_status_code = 202 _session_requests = 0 _session_initial_timeout = (3.0, 10.) - _session_timeout = (10.0, 300.) + _session_timeout = (10.0, 30.) _write_session_data_size = 15000 - _write_session_timeout = (300.0, 300.) + _write_session_timeout = (30.0, 30.) api_version = '2.1' default_host = "https://demoapi.trains.allegro.ai"