Skip to content

Commit

Permalink
docs(rate-limit): update docs description in getRateLimitTTL include
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Dec 29, 2023
1 parent 72a28e7 commit a20fdbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/includes/getRateLimitTTL.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Function to get max events value or set by default 10000.
Function to get current rate limit ttl.
]]
local function getRateLimitTTL(maxJobs, rateLimiterKey)
if maxJobs and maxJobs <= tonumber(rcall("GET", rateLimiterKey) or 0) then
Expand Down

0 comments on commit a20fdbf

Please sign in to comment.