Merge pull request #8214 from steven-zou/cherry-pick/b88159e747bbf92

[Cherry-pick]use separate key for the last periodic enqueue data
This commit is contained in:
Steven Zou 2019-07-03 21:48:40 +08:00 committed by GitHub
commit ad6855d5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ func RedisKeyScheduled(namespace string) string {
// RedisKeyLastPeriodicEnqueue returns key of timestamp if last periodic enqueue.
func RedisKeyLastPeriodicEnqueue(namespace string) string {
return RedisNamespacePrefix(namespace) + "last_periodic_enqueue"
return RedisNamespacePrefix(namespace) + "last_periodic_enqueue_h"
}
// KeyNamespacePrefix returns the based key based on the namespace.