Megatest

Diff
Login

Differences From Artifact [d9e94ba5d7]:

To Artifact [fdad451b60]:


309
310
311
312
313
314
315
316
317



318
319
320
321
322
323
324
309
310
311
312
313
314
315


316
317
318
319
320
321
322
323
324
325







-
-
+
+
+







         (port        (cadr server-info))
         (last-access 0)
	 (tdb         (tasks:open-db))
	 (server-timeout (let ((tmo (config-lookup  *configdat* "server" "timeout")))
			   (if (and (string? tmo)
				    (string->number tmo))
			       (* 60 60 (string->number tmo))
			       ;; default to three days
			       (* 3 24 60 60)))))
			       ;; (* 3 24 60 60) ;; default to three days
			       (* 60 60)         ;; default to one hour
			       ))))
    ;;
    ;; set_running
    ;;
    (tasks:server-set-state! tdb server-id "running")
    (let loop ((count 0))
      ;; Use this opportunity to sync the inmemdb to db
      (let ((start-time (current-milliseconds))