From f20b9199e187737d959d2120766ee2ac03d6165c Mon Sep 17 00:00:00 2001 From: an-tao <20741618@qq.com> Date: Tue, 15 Jan 2019 18:09:21 +0800 Subject: [PATCH] Increase the size of the sql command bufferr --- orm_lib/src/DbClientImpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm_lib/src/DbClientImpl.cc b/orm_lib/src/DbClientImpl.cc index 52351914..696c0958 100644 --- a/orm_lib/src/DbClientImpl.cc +++ b/orm_lib/src/DbClientImpl.cc @@ -186,7 +186,7 @@ void DbClientImpl::execSql(std::string &&sql, bool busy = false; { std::lock_guard guard(_bufferMutex); - if (_sqlCmdBuffer.size() > 10000) + if (_sqlCmdBuffer.size() > 200000) { //too many queries in buffer; busy = true;