mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(server/cron): reduce wait to reschedule task
Was a hacky solution to an obsolete issue.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user