Appbase change to handle exits when retries and timeouts happen, as these are expected from worker -> app

This commit is contained in:
Frikky
2023-12-06 17:11:42 +01:00
parent ec726fe073
commit 1aef4d2dbb
3 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -1406,7 +1406,7 @@ func main() {
// Should find data to send (memory etc.)
// Create timeout of max 4 seconds just in case
ctx, cancel := context.WithTimeout(context.Background(), 4*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
// Marshal and set body