未验证 提交 2e718233 编写于 作者: B BossZou 提交者: GitHub

Enlarge event queue (#3393)

Signed-off-by: Nyinghao.zou <yinghao.zou@zilliz.com>
上级 d849d0d0
......@@ -78,6 +78,10 @@ class EventExecutor {
}
private:
EventExecutor() {
queue_.SetCapacity(10000);
}
static EventExecutor&
GetInstanceImpl() {
static EventExecutor executor;
......@@ -108,7 +112,6 @@ class EventExecutor {
}
}
EventExecutor() = default;
EventExecutor(const EventExecutor&) = delete;
ThreadPtr thread_ptr_ = nullptr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册