Small bug fixes

This commit is contained in:
Ian Roddis
2021-12-21 17:23:58 -04:00
parent d90f49b2bb
commit 85d252f43c
3 changed files with 12 additions and 9 deletions

View File

@@ -196,13 +196,14 @@ namespace daggy::daggyr {
curCapacity_.cores += it->second.resourcesUsed.cores;
curCapacity_.memoryMB += it->second.resourcesUsed.memoryMB;
}
pending_.extract(it);
std::cout << "Resolved " << it->first.first << " / "
<< it->first.second << std::endl;
}
}
else {
payload = R"({ "state": "RUNNING" })";
found = true;
else {
payload = R"({ "state": "RUNNING" })";
found = true;
}
}
}