OSDN Git Service

Add connection throttling to try and reduce indexing & synchronizing impact.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / threads / SaveRunner.java
index 4569e04..a93fd17 100644 (file)
@@ -51,7 +51,7 @@ public class SaveRunner extends QObject implements Runnable {
        //*********************************************\r
        public SaveRunner(String logname, String u, String uid, String pswd, String cpswd) {\r
                logger = new ApplicationLogger(logname);\r
-               conn = new DatabaseConnection(logger, u, uid, pswd, cpswd);\r
+               conn = new DatabaseConnection(logger, u, uid, pswd, cpswd, 0);\r
                threadLock = new QMutex();\r
                keepRunning = true;\r
                noteSignals = new NoteSignal();\r