Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix(watcher): ensure that the restart timer is always started regardl…
Browse files Browse the repository at this point in the history
…ess of whether there are events or not (#765)
  • Loading branch information
battlecow committed Jun 3, 2021
1 parent fa54f54 commit 1de5432
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/external-secret.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ async function startWatcher ({
clearTimeout(timeout)
})

restartTimeout()

const deathEvent = await deathQueue.take()

logger.info('Stopping watch stream for namespace %s due to event: %s', loggedNamespaceName, deathEvent)
Expand Down

0 comments on commit 1de5432

Please sign in to comment.