Increased the time for cache
This commit is contained in:
@@ -3903,7 +3903,7 @@ func remoteOrgJobController(org shuffle.Org, body []byte) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[ERROR] Failed to marshal Subscriptions for cache: %s", err)
|
log.Printf("[ERROR] Failed to marshal Subscriptions for cache: %s", err)
|
||||||
} else {
|
} else {
|
||||||
shuffle.SetCache(ctx, subscriptionCacheKey, subscriptionsBytes, 30)
|
shuffle.SetCache(ctx, subscriptionCacheKey, subscriptionsBytes, 1800)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, job := range responseData.Jobs {
|
for _, job := range responseData.Jobs {
|
||||||
|
|||||||
Reference in New Issue
Block a user