mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-06 04:45:18 +02:00
feat: manual entity creation
chore: clippy
This commit is contained in:
@@ -111,7 +111,7 @@ impl IngestionPipeline {
|
||||
const BASE_SECONDS: u64 = 30;
|
||||
const MAX_SECONDS: u64 = 15 * 60;
|
||||
|
||||
let capped_attempt = attempt.saturating_sub(1).min(5) as u32;
|
||||
let capped_attempt = attempt.saturating_sub(1).min(5);
|
||||
let multiplier = 2_u64.pow(capped_attempt);
|
||||
let delay = BASE_SECONDS * multiplier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user