We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76fc2ee commit 2887f1dCopy full SHA for 2887f1d
core/limit/tokenscript.lua
@@ -18,7 +18,7 @@ if last_refreshed == nil then
18
end
19
20
local delta = math.max(0, now-last_refreshed)
21
-local add = delta*rate
+local add = delta * rate
22
local filled_tokens = math.min(capacity, last_tokens+add)
23
local allowed = filled_tokens >= requested
24
local new_tokens = filled_tokens
0 commit comments