Fix lazy mem

Signed-off-by: zjun <zhangjun0@huawei.com>
This commit is contained in:
zjun 2022-01-04 15:41:32 +08:00
parent 5d371af62b
commit 0bf0f7c9ba
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class OpLazyBuilder {
std::vector<std::shared_ptr<OpTask>> op_build_tasks;
std::queue<std::shared_ptr<OpTask>> op_run_tasks;
std::function<void()> execute_callback_{nullptr};
inline static size_t kMaxQueueSize = 100;
inline static size_t kMaxQueueSize = 20;
bool executing_{false};
bool registered_{false};
};