Increase the size of the sql command bufferr

This commit is contained in:
an-tao 2019-01-15 18:09:21 +08:00
parent bbb810949e
commit f20b9199e1
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void DbClientImpl::execSql(std::string &&sql,
bool busy = false;
{
std::lock_guard<std::mutex> guard(_bufferMutex);
if (_sqlCmdBuffer.size() > 10000)
if (_sqlCmdBuffer.size() > 200000)
{
//too many queries in buffer;
busy = true;