mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix cleaner start condition
This commit is contained in:
parent
34e076f9ff
commit
210017b42e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func start() error {
|
|||
// start api auth token cleaner
|
||||
authFnLock.Lock()
|
||||
defer authFnLock.Unlock()
|
||||
if authFn == nil {
|
||||
if authFn != nil {
|
||||
module.NewTask("clean api auth tokens", cleanAuthTokens).Repeat(time.Minute)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue