remote: always re-schedule update timeout
authorDavid Bauer <mail@david-bauer.net>
Sat, 23 Oct 2021 22:40:55 +0000 (00:40 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 29 Oct 2021 23:14:46 +0000 (01:14 +0200)
commit681354256fb334acfc7572be02afa21bde5094a1
tree08b1cf63cb8dfe7d94312a27cb920b8b7ed25e22
parentd7833e14efa81d326ae707f724b4965be63e60c3
remote: always re-schedule update timeout

This commit fixes updates not triggering due to a race-condition in
usteer.

When usteer does not yet have local-nodes when loading config, the
scheduled remote-update is not re-scheduled, leading to usteer only
exchanging node-messages on STA-events, leading to expiring remotes on
other remote nodes in low-event scenarios.

Signed-off-by: David Bauer <mail@david-bauer.net>
remote.c