summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-09 09:52:03 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-09 09:52:03 -0300
commit4ccb17dd1a3510b676c984e9fb346d3a5b1cf612 (patch)
tree7a975d1149e079fd7a02b14fa33f83f57e7b0b67
parentfec8ffaa3ceca8c4e471b28ff88f49a85f1975fd (diff)
downloadserverdata-4ccb17dd1a3510b676c984e9fb346d3a5b1cf612.tar.gz
serverdata-4ccb17dd1a3510b676c984e9fb346d3a5b1cf612.tar.bz2
serverdata-4ccb17dd1a3510b676c984e9fb346d3a5b1cf612.tar.xz
serverdata-4ccb17dd1a3510b676c984e9fb346d3a5b1cf612.zip
Delay the midnight scoreboards refresh in a couple minutes to manage load.
Just in case crontab or something else decides to act up. We're still using MyISAM which has a somewhat annoying table lock, after all.
-rw-r--r--npc/functions/scoreboards.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index 19d93ca09..c664c6a4d 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -77,7 +77,8 @@ OnDay1201:
end;
// Hourly Reload (maybe "OnMinute00" would work better?)
-OnHour00:
+//OnHour00:
+OnClock0002: // DELAYED to behave better with crontab and other loops
OnHour01:
OnHour02:
OnHour03: