/[projects]/smsdaemon/TaskManager.cpp
ViewVC logotype

Diff of /smsdaemon/TaskManager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 157 by torben, Mon Dec 8 21:28:40 2008 UTC revision 189 by torben, Wed Dec 17 12:46:49 2008 UTC
# Line 65  void TaskManager::AddTemporaryTask(Task* Line 65  void TaskManager::AddTemporaryTask(Task*
65    
66  void TaskManager::ExecuteTasks(ISmsTransceiver& modem)  void TaskManager::ExecuteTasks(ISmsTransceiver& modem)
67  {  {
68          const int SLEEP_TIME = 10; //wait at least 10 seconds between executions          const int SLEEP_TIME = 2; //wait this long between task executions
69          int now = time(0);          int now = time(0);
70    
71          if (now < (_lastExecuted + SLEEP_TIME) )          if (now < (_lastExecuted + SLEEP_TIME) )

Legend:
Removed from v.157  
changed lines
  Added in v.189

  ViewVC Help
Powered by ViewVC 1.1.20