From d2343b1f0791089f8a024a4acafb696b412c8e2a Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 1 Mar 2021 16:35:41 -0500 Subject: [PATCH] doc: Correctly annotate the setting name. The `setting_name` annotation needed a space before it so that it's picked up properly by the toggle annotations tooling. --- openedx/core/lib/request_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/core/lib/request_utils.py b/openedx/core/lib/request_utils.py index 0753b1f33f..1ba8252400 100644 --- a/openedx/core/lib/request_utils.py +++ b/openedx/core/lib/request_utils.py @@ -142,13 +142,13 @@ class CookieMonitoringMiddleware(MiddlewareMixin): if not CAPTURE_COOKIE_SIZES.is_enabled(): return - # ..setting_name: TOP_N_COOKIES_CAPTURED + # .. setting_name: TOP_N_COOKIES_CAPTURED # .. setting_default: 5 # .. setting_description: The number of the largest cookies to capture when monitoring. Capture fewer cookies # if you need to save on monitoring resources. # .. setting_warning: Depends on the `request_utils.capture_cookie_sizes` toggle being enabled. top_n_cookies_captured = getattr(settings, "TOP_N_COOKIES_CAPTURED", 5) - # ..setting_name: TOP_N_COOKIE_GROUPS_CAPTURED + # .. setting_name: TOP_N_COOKIE_GROUPS_CAPTURED # .. setting_default: 5 # .. setting_description: The number of the largest cookie groups to capture when monitoring. Capture # fewer cookies if you need to save on monitoring resources.