get limits

This commit is contained in:
Ivaylo Novakov 2022-03-14 18:27:45 +01:00
parent 5eb013cdf8
commit 3297cc0f88
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ access_by_lua_block {
return accounts.exit_access_forbidden() return accounts.exit_access_forbidden()
end end
-- -- get account limits of currently authenticated user -- get account limits of currently authenticated user
-- local limits = accounts.get_account_limits() local limits = accounts.get_account_limits()
-- -- apply download speed limit -- -- apply download speed limit
-- ngx.var.limit_rate = limits.download -- ngx.var.limit_rate = limits.download