mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 22:37:43 +02:00
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:
commit
ad6855d5ee
@ -34,7 +34,7 @@ func RedisKeyScheduled(namespace string) string {
|
|||||||
|
|
||||||
// RedisKeyLastPeriodicEnqueue returns key of timestamp if last periodic enqueue.
|
// RedisKeyLastPeriodicEnqueue returns key of timestamp if last periodic enqueue.
|
||||||
func RedisKeyLastPeriodicEnqueue(namespace string) string {
|
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.
|
// KeyNamespacePrefix returns the based key based on the namespace.
|
||||||
|
Loading…
Reference in New Issue
Block a user