Skip to content

Commit 182d860

Browse files
Changed cache timeout to 15min
1 parent 2b77ce4 commit 182d860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/pkg/validators/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,5 @@ func validateAttachmentURL(ctx context.Context, c cache.Cache, attachmentURL str
213213
}
214214

215215
func saveToCache(ctx context.Context, c cache.Cache, key string, value string) {
216-
_ = c.Set(ctx, key, value, 24*time.Hour)
216+
_ = c.Set(ctx, key, value, 15*time.Minute)
217217
}

0 commit comments

Comments
 (0)