Sync secrets (SSL certificates) on events
Remove scheduled check for missing secrets.
This commit is contained in:
parent
8855460817
commit
fec3ddc6cc
9 changed files with 395 additions and 209 deletions
|
|
@ -42,9 +42,9 @@ type Queue struct {
|
|||
sync func(interface{}) error
|
||||
// workerDone is closed when the worker exits
|
||||
workerDone chan bool
|
||||
|
||||
// fn makes a key for an API object
|
||||
fn func(obj interface{}) (interface{}, error)
|
||||
|
||||
// lastSync is the Unix epoch time of the last execution of 'sync'
|
||||
lastSync int64
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue