We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a0b90 commit a05e426Copy full SHA for a05e426
1 file changed
src/TfScheduler/TfSchedulerDevice.cxx
@@ -57,12 +57,18 @@ void TfSchedulerDevice::InitTask()
57
58
while (!mSchedInstance) {
59
// prevent infinite looping. Look for the specified request for 5min and exit
60
- if (since<std::chrono::minutes>(mStartTime) > 10.0) {
+ if (since<std::chrono::minutes>(mStartTime) > 30.0) {
61
IDDLOG("Partition request not found. Exiting. partition={}", mPartitionId);
62
ChangeState(fair::mq::Transition::ErrorFound);
63
return;
64
}
65
66
+ if (NewStatePending()) {
67
+ IDDLOG("Exiting on request from control system.");
68
+ ChangeState(fair::mq::Transition::ErrorFound);
69
+ return;
70
+ }
71
+
72
// check for new requests
73
PartitionRequest lNewPartitionRequest;
74
DDDLOG_RL(5000, "Checking for new partition creation requests.");
0 commit comments