Commit 28b0c2858cd1a3ef5ca9d21c0067c7daedfce2f1

Authored by zhouhaihai
1 parent 4cd97819

时间随机精确到秒

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/services/globald.lua
@@ -259,7 +259,7 @@ local function check_work_battle() @@ -259,7 +259,7 @@ local function check_work_battle()
259 redisproxy:hincrby(WORK_BATTLE_COUNT, field, add) 259 redisproxy:hincrby(WORK_BATTLE_COUNT, field, add)
260 end 260 end
261 end 261 end
262 - skynet.timeout(math.randomInt(10, 15) * 60 * 100, check_work_battle) 262 + skynet.timeout(math.randomInt(10 * 60, 15 * 60) * 100, check_work_battle)
263 end 263 end
264 264
265 local CMD = {} 265 local CMD = {}