mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 21:11:37 +01:00
use separate key for the last periodic enqueue data
Signed-off-by: Steven Zou <szou@vmware.com>
This commit is contained in:
parent
5d887ad0d8
commit
b88159e747
@ -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