feat: add backoff
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-04-13 13:27:20 +02:00
parent 27a630d007
commit 6789e3f14a
4 changed files with 83 additions and 29 deletions

13
Cargo.lock generated
View File

@@ -186,6 +186,18 @@ dependencies = [
"tracing",
]
[[package]]
name = "backon"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d67782c3f868daa71d3533538e98a8e13713231969def7536e8039606fc46bf0"
dependencies = [
"fastrand",
"futures-core",
"pin-project",
"tokio",
]
[[package]]
name = "backtrace"
version = "0.3.71"
@@ -344,6 +356,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"backon",
"clap",
"dagger-sdk",
"dotenv",