Update AsynchronousInsertQueue.h

This commit is contained in:
Alexander Tokmakov 2024-03-20 19:19:30 +01:00 committed by GitHub
parent 7275caf5bb
commit d190ee8113
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,8 @@ public:
PushResult pushQueryWithBlock(ASTPtr query, Block block, ContextPtr query_context);
size_t getPoolSize() const { return pool_size; }
/// This method should be called manually because it's not flushed automatically in dtor
/// because all tables may be already unloaded when we destroy AsynchronousInsertQueue
void flushAndShutdown();
private: