From 860f17df414afb320f4aafb21221ced871ac5765 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1=C5=A1=20Brada?= Date: Tue, 15 Dec 2015 16:15:11 +0100 Subject: [PATCH] Change order of loading. --- dhtBootStatic.pas | 2 +- dhtPersist.pas | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dhtBootStatic.pas b/dhtBootStatic.pas index 19b482b..59e15fa 100644 --- a/dhtBootStatic.pas +++ b/dhtBootStatic.pas @@ -43,5 +43,5 @@ end; var o:t; BEGIN - Shedule(1000,@o.boot); + Shedule(700,@o.boot); END. \ No newline at end of file diff --git a/dhtPersist.pas b/dhtPersist.pas index 066590d..95a8095 100644 --- a/dhtPersist.pas +++ b/dhtPersist.pas @@ -88,7 +88,6 @@ end; procedure t.doSoon; begin Load; - LoadID; end; procedure t.doPeriodic; @@ -99,7 +98,8 @@ end; procedure t.Init; begin - Shedule(500,@doSoon); + LoadID; + Shedule(1200,@doSoon); Shedule(40000,@doPeriodic); pot:=ServerLoop.OnTerminate; ServerLoop.OnTerminate:=@doLast; -- 2.11.4.GIT