This commit is contained in:
dongchangxi committed 2025-12-10 17:14:34 +08:00
1 parent 549c2b8f55
commit b7843917ff
11 files changed
+362 -25

No files matched your search

@@ -47,9 +47,9 @@ def step1(versionId):
return False
#塞入切片的队列 ,SADD 插入 , {batchId}_{machineType}_No{machineId}
machineType = ""
if machineInfo["machine_type"] == '1':
if str(machineInfo["machine_type"]) == '1':
machineType = 'small'
elif machineInfo["machine_type"] == '2':
elif str(machineInfo["machine_type"]) == '2':
machineType = 'big'
keyValue = f'{versionId}_{machineType}_No{machineInfo["id"]}'
r = redisClient()