Fixing logic error in submission batches

This commit is contained in:
Ian Roddis
2022-02-01 13:34:19 -04:00
parent df108dfd28
commit b3397381dc

View File

@@ -109,7 +109,9 @@ namespace daggy {
*/
while (n_submitted < MAX_SUBMITS) {
auto t = dag_.visitNext();
auto t = dag_.visitNext();
if (!t)
continue;
auto &taskName = t.value().first;
taskAttemptCounts_[taskName] = 1;