Investigate other event handlers #3

Open
opened 2024-12-22 15:17:17 +00:00 by decentral1se · 0 comments
Owner

We currently match against "lifecycle" events and queue up scanning for candidates/matching from there. However, in order to ensure the network is up, we randomly do a 3 second sleep.

Maybe another style of event is what we want to hook onto. Or perhaps based on the lifecycle event (e.g. "instance created") there is another type of event that we can "sub-watch" (more accurately) to wait until the network comes up.

We currently match against "lifecycle" events and queue up scanning for candidates/matching from there. However, in order to ensure the network is up, we randomly do a 3 second sleep. Maybe another style of event is what we want to hook onto. Or perhaps based on the lifecycle event (e.g. "instance created") there is another type of event that we can "sub-watch" (more accurately) to wait until the network comes up.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: decentral1se/caddy-incus-upstreams#3
No description provided.