[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:
Chandrasekharan M
2025-10-09 10:35:20 +05:30
committed by GitHub
parent f15fe26a09
commit 9997ee10e5

View File

@@ -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]: