latest build for orborus and worker

This commit is contained in:
yashsinghcodes
2024-12-04 11:11:49 +05:30
parent a8389a9d09
commit d9cd55351f
2 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -2150,7 +2150,9 @@ func main() {
log.Printf("[DEBUG] Starting iteration on environment %#v (default = Shuffle). Got statuscode %d from backend on first request", environment, newresp.StatusCode)
}
go AutoScale(ctx)
if os.Getenv("SHUFFLE_SWARM_CONFIG") == "run" && os.Getenv("SHUFFLE_SCALE_REPLICAS") == "" {
go AutoScale(ctx)
}
hasStarted = true
}