Skip to content

Commit

Permalink
refactor(server/cron): reduce wait to reschedule task
Browse files Browse the repository at this point in the history
Was a hacky solution to an obsolete issue.
  • Loading branch information
thelindat committed Aug 6, 2023
1 parent becc29b commit d12f484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/cron/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d12f484

Please sign in to comment.