add: pulse endpoint
This commit is contained in:
parent
c41dd7e9fa
commit
fb66480873
9 changed files with 135 additions and 3 deletions
src
|
@ -146,7 +146,7 @@ main(int argc, const char** argv)
|
|||
|
||||
for (;;)
|
||||
{
|
||||
mg_mgr_poll(&mgr, 1000);
|
||||
mg_mgr_poll(&mgr, 200);
|
||||
if(time(NULL) - timer >= 10)
|
||||
{
|
||||
status_broadcast(&mgr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue