Fix another hardcoded priority.

This commit is contained in:
Alex Miller 2019-06-25 10:36:32 -07:00
parent 7a500cd37f
commit 8e28930d12

View File

@ -31,7 +31,7 @@
#include "flow/actorcompiler.h" // This must be the last #include. #include "flow/actorcompiler.h" // This must be the last #include.
ACTOR template <class Tree> ACTOR template <class Tree>
Future<Void> deferredCleanupActor( std::vector<Tree> toFree, TaskPriority taskID = 7000 ) { Future<Void> deferredCleanupActor( std::vector<Tree> toFree, TaskPriority taskID = TaskPriority::DefaultYield ) {
state int freeCount = 0; state int freeCount = 0;
while (!toFree.empty()) { while (!toFree.empty()) {
Tree a = std::move( toFree.back() ); Tree a = std::move( toFree.back() );