Ignore logging monthly_high_scores route
This commit is contained in:
parent
42fa0f1844
commit
51b9aa2b3f
|
@ -24,7 +24,14 @@ class LoggingThrottle(throttling.BaseThrottle):
|
|||
return True
|
||||
elif path == '/sessions/' and user == None:
|
||||
return True
|
||||
elif path in ['/pinball/high_scores/', '/protocoin/printer_balance/', '/hosting/high_scores/', '/stats/ord2/printer3d/', '/stats/ord3/printer3d/']:
|
||||
elif path in [
|
||||
'/pinball/high_scores/',
|
||||
'/pinball/monthly_high_scores/',
|
||||
'/protocoin/printer_balance/',
|
||||
'/hosting/high_scores/',
|
||||
'/stats/ord2/printer3d/',
|
||||
'/stats/ord3/printer3d/'
|
||||
]:
|
||||
return True
|
||||
|
||||
if request.data:
|
||||
|
|
Loading…
Reference in New Issue
Block a user