[codeface] [PATCH 4/4] Increase max packet size

  • From: Mitchell Joblin <mitchell.joblin.ext@xxxxxxxxxxx>
  • To: codeface@xxxxxxxxxxxxx
  • Date: Fri, 2 Oct 2015 10:44:45 +0200

- For some very active projects the analysis fails because the
default max packet size is exceeded

Signed-off-by: Mitchell Joblin <mitchell.joblin.ext@xxxxxxxxxxx>
---
codeface/dbmanager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/codeface/dbmanager.py b/codeface/dbmanager.py
index 181607d..c378930 100644
--- a/codeface/dbmanager.py
+++ b/codeface/dbmanager.py
@@ -60,7 +60,7 @@ class DBManager:
raise
self.cur = self.con.cursor()

- max_packet_size = 1024*1024*32
+ max_packet_size = 1024*1024*64
self.doExec("SET GLOBAL max_allowed_packet=%s", (max_packet_size,))

def __del__(self):
--
2.1.4


Other related posts:

  • » [codeface] [PATCH 4/4] Increase max packet size - Mitchell Joblin