Appbase change to handle exits when retries and timeouts happen, as these are expected from worker -> app
This commit is contained in:
@@ -3660,7 +3660,6 @@ func runInitEs(ctx context.Context) {
|
||||
log.Printf("Successfully updated org to have users!")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3693,6 +3692,10 @@ func runInitEs(ctx context.Context) {
|
||||
orgId = activeOrgs[0].Id
|
||||
}
|
||||
|
||||
if len(schedule.Org) == 36 {
|
||||
orgId = schedule.Org
|
||||
}
|
||||
|
||||
_, _, err := handleExecution(schedule.WorkflowId, shuffle.Workflow{}, request, orgId)
|
||||
if err != nil {
|
||||
log.Printf("[WARNING] Failed to execute %s: %s", schedule.WorkflowId, err)
|
||||
|
||||
Reference in New Issue
Block a user