diff --git a/lua/gmod_integration/shared/sh_http.lua b/lua/gmod_integration/shared/sh_http.lua index 54df517..c445e37 100644 --- a/lua/gmod_integration/shared/sh_http.lua +++ b/lua/gmod_integration/shared/sh_http.lua @@ -114,7 +114,7 @@ function gmInte.http.postLog(endpoint, data) }) timer.Simple(3, function() - if #nextLogPacket == logPacketIndex then + if #nextLogPacket == logPacketIndex || #nextLogPacket >= 30 then gmInte.http.requestAPI({ ["endpoint"] = "/servers/:serverID/logs", ["method"] = "POST",