We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deaf9cb commit f8fee01Copy full SHA for f8fee01
container_provisioner/database/redis.go
@@ -29,7 +29,7 @@ func SetCache(key string, value any) {
29
30
ctx := context.Background()
31
// Timeout set to 5 minutes
32
- err = rdb.Set(ctx, key, string(encodedValue), time.Minute*5).Err()
+ err = rdb.Set(ctx, key, string(encodedValue), time.Minute*1).Err()
33
utils.ErrorHandler(err)
34
}
35
0 commit comments