changeset 8536:5800afdebded

bug: remove performance and tracing decorators. Accidently commited as part of 8534:1f8492d68aca rest.py change.
author John Rouillard <rouilj@ieee.org>
date Sat, 21 Mar 2026 21:40:57 -0400
parents 4184173d364f
children 6783a7f2b5e1
files roundup/rest.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/rest.py	Wed Mar 18 17:49:16 2026 -0400
+++ b/roundup/rest.py	Sat Mar 21 21:40:57 2026 -0400
@@ -34,7 +34,6 @@
 from roundup.exceptions import Reject, UsageError
 from roundup.i18n import _
 from roundup.rate_limit import Gcra, RateLimit
-from roundup.timer import timer
 
 logger = logging.getLogger('roundup.rest')
 
@@ -2433,8 +2432,6 @@
                      "acceptable": ", ".join(sorted(
                          self.__accepted_content_type.keys()))}))
 
-    @timer(name="rest_dispatch", tag="args[2]",
-           writer=logging.getLogger('roundup.timer').error)
     def dispatch(self, method, uri, input_payload):
         """format and process the request"""
         output = None
@@ -2750,8 +2747,6 @@
 
     __slots__ = ("json_dict", "value")
 
-    @timer(name="simultateFieldStorage", tag="args[1][:10]",
-           writer=logging.getLogger('roundup.timer').error)
     def __init__(self, json_string):
         '''Parse the json string into an internal dict.
 

Roundup Issue Tracker: http://roundup-tracker.org/