!28526 Fix lazy mem

Merge pull request !28526 from zjun/fix_lazy_mem
This commit is contained in:
i-robot 2022-01-05 09:53:34 +00:00 committed by Gitee
commit ed0400e8d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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};
};