Skip to content
Snippets Groups Projects
Commit d2343b1f authored by Feanil Patel's avatar Feanil Patel
Browse files

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.
parent fe8e9595
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment