mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 14:16:19 +00:00
mejorar timing parseo
This commit is contained in:
parent
c66c325a4f
commit
d1d496514c
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ pub fn get_fetch_retry_policy() -> again::RetryPolicy {
|
|||
}
|
||||
|
||||
pub fn get_parse_retry_policy() -> again::RetryPolicy {
|
||||
RetryPolicy::exponential(Duration::from_millis(300))
|
||||
.with_max_retries(3)
|
||||
RetryPolicy::exponential(Duration::from_millis(1500))
|
||||
.with_max_retries(5)
|
||||
.with_max_delay(Duration::from_secs(5))
|
||||
.with_jitter(true)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue