Changeset View
Changeset View
Standalone View
Standalone View
swh/web/settings/tests.py
Show All 18 Lines | |||||
scope3_limiter_rate = 1 | scope3_limiter_rate = 1 | ||||
scope3_limiter_rate_post = 1 | scope3_limiter_rate_post = 1 | ||||
save_origin_rate_post = 10 | save_origin_rate_post = 10 | ||||
swh_web_config = get_config() | swh_web_config = get_config() | ||||
swh_web_config.update( | swh_web_config.update( | ||||
{ | { | ||||
"debug": False, | "debug": True, | ||||
"secret_key": "test", | "secret_key": "test", | ||||
"history_counters_url": "", | "history_counters_url": "", | ||||
"throttling": { | "throttling": { | ||||
"cache_uri": None, | "cache_uri": None, | ||||
"scopes": { | "scopes": { | ||||
"swh_api": { | "swh_api": { | ||||
"limiter_rate": {"default": "60/min"}, | "limiter_rate": {"default": "60/min"}, | ||||
"exempted_networks": ["127.0.0.0/8"], | "exempted_networks": ["127.0.0.0/8"], | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |