mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
increase authToken timeout from 5 sec to 1 min
This commit is contained in:
@@ -53,13 +53,13 @@ if isServer() then
|
||||
|
||||
if authCooldown[src] then
|
||||
debugPrint("^1Auth^7: ^3Cooldown active^7 for Player ^1"..src.."^7, ignoring additional auth request")
|
||||
return ""
|
||||
return AuthEvent
|
||||
end
|
||||
|
||||
debugPrint("^1Auth^7: ^2Player Source^7: "..src.." ^2requested ^3AuthEvent^7", AuthEvent)
|
||||
|
||||
authCooldown[src] = true
|
||||
SetTimeout(5000, function() -- 5 second cooldown
|
||||
SetTimeout(60000, function() -- 1 minute cooldown
|
||||
authCooldown[src] = nil
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user