缓解io压力
This commit is contained in:
@@ -289,6 +289,11 @@ func RedisPollingConcurrencyCurrentKey(taskType string) string {
|
||||
return fmt.Sprintf("polling:concurrency:current:%s", taskType)
|
||||
}
|
||||
|
||||
// RedisPollingConcurrencyTotalCurrentKey 返回全部轮询共享的并发计数键。
|
||||
func RedisPollingConcurrencyTotalCurrentKey() string {
|
||||
return "polling:concurrency:current:total"
|
||||
}
|
||||
|
||||
// RedisPollingManualQueueKey 生成手动触发队列的 Redis 键
|
||||
// 用途:List 存储手动触发的卡 ID(FIFO 队列)
|
||||
// 过期时间:无(临时队列)
|
||||
|
||||
Reference in New Issue
Block a user