OSDN Git Service

Add connection throttling to try and reduce indexing & synchronizing impact.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / threads / ThumbnailRunner.java
index fccbeb5..024ce6f 100644 (file)
@@ -81,7 +81,7 @@ public class ThumbnailRunner extends QObject implements Runnable {
 \r
        public ThumbnailRunner(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, 300);\r
                noteSignal = new NoteSignal();\r
                guid = null;\r
                keepRunning = true;\r