From d12f4845f2d1c10a7fe66bd1782e93c2726e0621 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sun, 6 Aug 2023 17:27:41 +1000 Subject: [PATCH] refactor(server/cron): reduce wait to reschedule task Was a hacky solution to an obsolete issue. --- imports/cron/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/cron/server.lua b/imports/cron/server.lua index 3861ea4..a059409 100644 --- a/imports/cron/server.lua +++ b/imports/cron/server.lua @@ -245,7 +245,7 @@ function OxTask:scheduleTask() print(('(%s/%s/%s %s:%s) ran task %s'):format(currentDate.year, currentDate.month, currentDate.day, currentDate.hour, currentDate.min, self.id)) end - Wait(30000) + Wait(1000) return true end