mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 01:49:13 +00:00
9 lines
268 B
Rust
9 lines
268 B
Rust
use backon::ExponentialBuilder;
|
|
use lazy_static::lazy_static;
|
|
use tokio::time::Duration;
|
|
|
|
lazy_static! {
|
|
pub static ref exponential: ExponentialBuilder = ExponentialBuilder::default()
|
|
.with_max_times(30)
|
|
.with_max_delay(Duration::from_secs(60));
|
|
}
|