Skip to content

Commit 2887f1d

Browse files
authored
doc: 格式化
1 parent 76fc2ee commit 2887f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/limit/tokenscript.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if last_refreshed == nil then
1818
end
1919

2020
local delta = math.max(0, now-last_refreshed)
21-
local add = delta*rate
21+
local add = delta * rate
2222
local filled_tokens = math.min(capacity, last_tokens+add)
2323
local allowed = filled_tokens >= requested
2424
local new_tokens = filled_tokens

0 commit comments

Comments
 (0)