latest build for orborus and worker
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -4129,8 +4129,9 @@ func runWebserver(listener net.Listener) {
|
||||
log.Printf("[DEBUG] SHUFFLE_APP_EXECUTIONS_PER_MINUTE set to value %s. Trying to overwrite default (%d)", os.Getenv("SHUFFLE_APP_EXECUTIONS_PER_MINUTE"), maxExecutionsPerMinute)
|
||||
}
|
||||
|
||||
go AutoScaleApps(ctx, dockercli, maxExecutionsPerMinute)
|
||||
|
||||
if strings.ToLower(os.Getenv("SHUFFLE_SWARM_CONFIG")) == "run" || strings.ToLower(os.Getenv("SHUFFLE_APP_REPLICAS")) == "" {
|
||||
go AutoScaleApps(ctx, dockercli, maxExecutionsPerMinute)
|
||||
}
|
||||
if strings.ToLower(os.Getenv("SHUFFLE_DEBUG_MEMORY")) == "true" {
|
||||
r.HandleFunc("/debug/pprof/", pprof.Index)
|
||||
r.HandleFunc("/debug/pprof/heap", pprof.Handler("heap").ServeHTTP)
|
||||
|
||||
Reference in New Issue
Block a user