mirror of
https://gitee.com/mao-peng/MangoTestingPlatform.git
synced 2025-12-06 11:59:15 +08:00
修改docker为daphne启动的尝试
This commit is contained in:
@@ -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}')
|
||||
|
||||
Reference in New Issue
Block a user