[MISC] Updated chord retry to parse values as float for v2 workers (#1568)
misc: Updated chord retry to parse values as float for v2 workers
This commit is contained in:
committed by
GitHub
parent
f15fe26a09
commit
9997ee10e5
@@ -495,7 +495,7 @@ class WorkerCeleryConfig:
|
||||
if self.worker_type in chord_workers:
|
||||
# Chord retry interval - defaults to Celery standard (1 second)
|
||||
config["result_chord_retry_interval"] = get_celery_setting(
|
||||
"RESULT_CHORD_RETRY_INTERVAL", self.worker_type, 1, int
|
||||
"RESULT_CHORD_RETRY_INTERVAL", self.worker_type, 1, float
|
||||
)
|
||||
|
||||
def to_cli_args(self) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user