Increased timeouts and rerun mechanisms. Autofixes are now more and more in place by default

This commit is contained in:
Frikky
2025-08-27 01:10:28 +02:00
parent 8f0d91b224
commit 2b639ceae3
5 changed files with 32 additions and 12 deletions
+12 -1
View File
@@ -2057,6 +2057,11 @@ func main() {
log.Printf("[DEBUG] Verbose mode. NOT cleaning up. Cleanup env: %s", cleanupEnv)
}
// Default to 120 instead of default 30
if len(os.Getenv("SHUFFLE_APP_SDK_TIMEOUT")) == 0 {
os.Setenv("SHUFFLE_APP_SDK_TIMEOUT", "120")
}
workerTimeout := 600
if workerTimeoutEnv != "" {
tmpInt, err := strconv.Atoi(workerTimeoutEnv)
@@ -3951,7 +3956,13 @@ func sendWorkerRequest(workflowExecution shuffle.ExecutionRequest, image string,
}
}
client := &http.Client{}
client := &http.Client{
//Transport: &http.Transport{
// TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
//},
Timeout: time.Duration(120 * time.Second),
}
req, err := http.NewRequest(
"POST",
streamUrl,
+1
View File
@@ -4298,6 +4298,7 @@ func main() {
if os.Getenv("SHUFFLE_SWARM_CONFIG") == "run" || os.Getenv("SHUFFLE_SWARM_CONFIG") == "swarm" {
logsDisabled = "true"
}
/*** ENDREMOVE ***/
// Elasticsearch necessary to ensure we'ren ot running with Datastore configurations for minimal/maximal data sizes
// Recursive import kind of :)