Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about watchdog #21

Open
limbo127 opened this issue Jan 26, 2017 · 1 comment
Open

about watchdog #21

limbo127 opened this issue Jan 26, 2017 · 1 comment

Comments

@limbo127
Copy link

Hello,
I've devellop some watchdog using glb_wdog_backend model.
It is working well, excect that router are only update after second watchdog call.
The first call ( after add with echo ip:port;weight ) set ctx ->state to 3 , but it seems that's router is not update this first time, i must patient during -i interval
Can you explain this behaviour
Regards,
Nicolas .

@ayurchen
Copy link
Member

If I understood the question correctly, the reason for that is the watchdog main loop behavior where it waits for the preset interval to get as many destinations to report their states before processing the results (as opposed to reacting to every report). This is done to minimize computational expenses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants