Appbase change to handle exits when retries and timeouts happen, as these are expected from worker -> app
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user