Changeset View
Changeset View
Standalone View
Standalone View
swh/web/config.py
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | 'throttling': ('dict', { | ||||
# development: in-memory cache so None | # development: in-memory cache so None | ||||
'scopes': { | 'scopes': { | ||||
'swh_api': { | 'swh_api': { | ||||
'limiter_rate': { | 'limiter_rate': { | ||||
'default': '120/h' | 'default': '120/h' | ||||
}, | }, | ||||
'exempted_networks': ['127.0.0.0/8'] | 'exempted_networks': ['127.0.0.0/8'] | ||||
}, | }, | ||||
'swh_api_origin_search': { | |||||
'limiter_rate': { | |||||
'default': '10/m' | |||||
}, | |||||
'exempted_networks': ['127.0.0.0/8'] | |||||
}, | |||||
'swh_vault_cooking': { | 'swh_vault_cooking': { | ||||
'limiter_rate': { | 'limiter_rate': { | ||||
'default': '120/h', | 'default': '120/h', | ||||
'GET': '60/m' | 'GET': '60/m' | ||||
}, | }, | ||||
'exempted_networks': ['127.0.0.0/8'] | 'exempted_networks': ['127.0.0.0/8'] | ||||
}, | }, | ||||
'swh_save_origin': { | 'swh_save_origin': { | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |