Changeset 2281

Show
Ignore:
Timestamp:
13/09/2008 16:28:38 (18 months ago)
Author:
chris
Message:

Allow stopping housekeeping during a run, between accounts, when the
daemon is requested to terminate or to reload its configuration.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbstored/BBStoreDHousekeeping.cpp

    r2262 r2281  
    4646        { 
    4747                RunHousekeepingIfNeeded(); 
     48 
     49                // Stop early? 
     50                if(StopRun()) 
     51                { 
     52                        break; 
     53                } 
    4854 
    4955                // Calculate how long should wait before doing the next