request.WithTimeout
This commit is contained in:
parent
bcd58ef49d
commit
da92e535bb
|
|
@ -43,7 +43,7 @@ var CacheKeyMap = map[CacheKey]time.Duration{
|
|||
WechatNotifyRegisterTagCacheLockKey: 60 * time.Second,
|
||||
WechatNotifyConsumeLockKey: 30 * time.Second,
|
||||
|
||||
ProductQueryKey: 5 * 86400 * time.Second, // 5天
|
||||
ProductQueryKey: 15 * 86400 * time.Second, // 15天
|
||||
ProductQueryLockKey: 30 * time.Second,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue