Browse Source

20条并发

jihuaqiang 3 tháng trước cách đây
mục cha
commit
cd850309e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scheduler/decode_dispatch_job.py

+ 1 - 1
scheduler/decode_dispatch_job.py

@@ -15,7 +15,7 @@ logger = get_scheduler_logger()
 CONFIG_ID = "57"
 DECODE_URL = "https://aigc-api.aiddit.com/aigc/api/task/decode"
 DECODE_RESULT_URL = "https://aigc-api.aiddit.com/aigc/api/task/decode/result"
-BATCH_SIZE = 10
+BATCH_SIZE = 20
 ODPS_PAGE_SIZE = 200
 RESULT_POLL_CHUNK = 50