Commit 855920e8 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor change; If SERVER_INACTIVE_SECONDS is zero, treat that as loop

forever.
parent 7739c102
......@@ -250,6 +250,10 @@ PlayFrisbee(void)
* spin.
*/
if (! WorkQueueDequeue(&chunk, &startblock, &blockcount)) {
/* If zero, never exit */
if (! SERVER_INACTIVE_SECONDS)
continue;
if (idlelastloop) {
struct timeval estamp;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment