From 51b9aa2b3f1d1201022876b47ac28a301a1cf464 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 2 May 2023 17:51:51 +0000 Subject: [PATCH] Ignore logging monthly_high_scores route --- apiserver/apiserver/api/throttles.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apiserver/apiserver/api/throttles.py b/apiserver/apiserver/api/throttles.py index a5d1348..042c5e7 100644 --- a/apiserver/apiserver/api/throttles.py +++ b/apiserver/apiserver/api/throttles.py @@ -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: