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

Commit 1de5432

Browse files
authored
fix(watcher): ensure that the restart timer is always started regardless of whether there are events or not (#765)
1 parent fa54f54 commit 1de5432

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/external-secret.js

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ async function startWatcher ({
7676
clearTimeout(timeout)
7777
})
7878

79+
restartTimeout()
80+
7981
const deathEvent = await deathQueue.take()
8082

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

0 commit comments

Comments
 (0)