Customize Retry period separate from Period config
tri97nguyen opened this issue · comments
Tri Nguyen commented
Hi,
How could I change the retry period please?
Currently, both the retry period and the allowable period is set via only one config period
in appsettings.json
. How could I separate them? Thank you
For example:
{
"Endpoint": "*",
"Period": "10s",
"Limit": 3
}
Would block if more than 3 requests are made within 10s. Then it waits for 10s before opening up for request again.
I am looking for something like
{
"Endpoint": "*",
"Period": "10s",
"RetryPeriod": "1m",
"Limit": 3
}
Would block if more than 3 requests are made within 10s. Then it waits for 1 min before opening up for request again.
Could any please help?
hgh commented
you can write code change it.