From 4d6a8462fb4cc00680c29a72ca4c1ca67ac7218e Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 30 Mar 2004 22:52:11 +0000 Subject: [PATCH] For the first ten seconds of node synchronization for exclusive events, the node status are checked every second (then every 10 seconds thereafter). --- src/sbbs3/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 6cb1c9bee2..b3a6f43738 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -1950,7 +1950,7 @@ void event_thread(void* arg) while(!sbbs->terminated) { mswait(1000); now=time(NULL); - if(now-lastnodechk<10) + if(now-start>10 && now-lastnodechk<10) continue; for(j=first_node;j<=last_node;j++) { if(sbbs->getnodedat(j,&node,1)!=0) @@ -1990,7 +1990,7 @@ void event_thread(void* arg) while(!sbbs->terminated) { mswait(1000); now=time(NULL); - if(now-lastnodechk<10) + if(now-start>10 && now-lastnodechk<10) continue; lastnodechk=now; // Check/change the status of the nodes that we're in control of -- GitLab