Skip to content

Commit

Permalink
Update policyd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
balazs92117 authored Jun 21, 2018
1 parent 2150dec commit 3785003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions policyd_rate_limit/policyd.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def action(self, connection, request):
raise Pass()

#Custom limits per ID via MySQL

custom_limits = config.limits_by_id
del custom_limits[:]
custom_limits = config.limits_by_id
if config.sql_limits_by_id != "":
Expand Down

0 comments on commit 3785003

Please sign in to comment.