修改docker为daphne启动的尝试

This commit is contained in:
毛鹏
2025-11-28 19:01:13 +08:00
parent 38765a25bb
commit 811b401d99

View File

@@ -76,6 +76,7 @@ class HttpClientApi(HttpBase):
cls.headers['Authorization'] = response.data.get('token')
return response
except Exception as error:
print(settings.IS_OPEN and retry < 100)
if settings.IS_OPEN and retry < 100:
time.sleep(3)
log.info(f'开始登录重试:{retry}{error}')