Ticket #13072: 13072-testfix1.patch
File 13072-testfix1.patch, 866 bytes (added by , 7 years ago) |
---|
-
scheduler.cpp
old new 2203 2203 // Check for slaves that can be put to sleep. 2204 2204 PutInactiveSlavesToSleep(); 2205 2205 lastSleepCheck = MythDate::current(); 2206 checkSlaves = false; 2206 2207 } 2207 2208 } 2208 2209 2209 2210 nextStartTime = MythDate::current().addDays(14); 2210 nextWakeTime = lastSleepCheck.addSecs(kSleepCheck); 2211 if (checkSlaves) 2212 nextWakeTime = MythDate::current().addSecs(1); 2213 else 2214 nextWakeTime = lastSleepCheck.addSecs(kSleepCheck); 2211 2215 LOG(VB_GENERAL, LOG_INFO, 2212 2216 QString("Before skipping history with nwt %1 nst %2 lastSleepCheck %3").arg(nextWakeTime.toString()).arg(nextStartTime.toString()).arg(lastSleepCheck.toString())); 2213 2217