Fix _dynamic_gpu_get_available worker timeout increase to 10 minutes

This commit is contained in:
allegroai 2021-06-02 13:16:17 +03:00
parent 3a07bfe1d7
commit 7e90ebd5db

View File

@ -905,7 +905,7 @@ class Worker(ServiceCommandSection):
def _dynamic_gpu_get_available(self, gpu_indexes):
# noinspection PyBroadException
try:
response = self._session.send_api(workers_api.GetAllRequest(last_seen=60))
response = self._session.send_api(workers_api.GetAllRequest(last_seen=600))
except Exception:
return None