save code

This commit is contained in:
colomi
2025-07-21 21:55:06 +08:00
parent c37e0e473d
commit e53e65b6f4
4 changed files with 116 additions and 33 deletions
+2 -2
View File
@@ -7,11 +7,11 @@ QUEUE_NAME = 'task_queue'
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
REDIS_DB = 0
DEFAULT_TIMEOUT = (60*10)
DEFAULT_TIMEOUT = (60*20)
GPU_SERVER_TIME_OUT = 180
GPU_SERVER_LIST = 'gpu_server_list_key'
SERVER_LOG_ = "server_log"
SERVER_LOG_EVENT_LEN = 20
SERVER_LOG_EVENT_LEN = 30
KEY_QUEUE_LOCK_NAME = 'KEY_QUEUE_LOCK_NAME'
SERVER_LIST_LOCK_NAME = 'SERVER_LIST_LOCK_NAME'
SERVER_LIST_LOG_LOCK_NAME = 'SERVER_LIST_LOG_LOCK_NAME'