fix: fix setting is ready for s3 workers

This commit is contained in:
Ruben Fiszel
2023-09-03 16:47:05 +02:00
parent 8f8806a1b9
commit a4d1c987d4
+1 -1
View File
@@ -733,7 +733,7 @@ pub async fn run_worker<R: rsmq_async::RsmqConnection + Send + Sync + Clone + 's
first_run = false;
if !IS_READY.load(Ordering::Relaxed) {
IS_READY.store(false, Ordering::Relaxed);
IS_READY.store(true, Ordering::Relaxed);
}
if *METRICS_ENABLED {