mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
moved time start out of loop
This commit is contained in:
parent
0c00a50417
commit
3448e1ce78
1 changed files with 1 additions and 1 deletions
|
|
@ -209,9 +209,9 @@ class OpenPypeMongoConnection:
|
|||
elif not retry_attempts:
|
||||
retry_attempts = 1
|
||||
|
||||
t1 = time.time()
|
||||
for _retry in range(retry_attempts):
|
||||
try:
|
||||
t1 = time.time()
|
||||
mongo_client.server_info()
|
||||
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue