What's the default retry-time? How to override it?
MarounMaroun opened this issue · comments
Maroun Maroun commented
I don't see anywhere in the configuration that we can set a time for the block. What's the default and how we can override it?
Maroun Maroun commented
I figured it out. It defaults to the Period
in the GeneralRules
. If you wish to change it, you can use PeriodTimespan
. Example:
"GeneralRules": [
{
"Endpoint": "*:/api/your-endpoint",
"Period": "100s",
"Limit": 20,
"PeriodTimespan": "0.00:10:00"
}
]
Check TimeSpan formatting
for more details.