From 1577d96b68ac250391c4e543fb205aa73b0bc20f Mon Sep 17 00:00:00 2001 From: Guillaume Hivert Date: Mon, 6 May 2024 13:22:53 +0200 Subject: [PATCH] feat: activate 20 retries Signed-off-by: Guillaume Hivert --- apps/backend/src/retrier.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/retrier.gleam b/apps/backend/src/retrier.gleam index 191e67f..3118f51 100644 --- a/apps/backend/src/retrier.gleam +++ b/apps/backend/src/retrier.gleam @@ -38,7 +38,7 @@ fn init( work: fn(Int) -> Result(a, Error), ) -> actor.InitResult(State(a), Message) { let subject = process.new_subject() - let state = State(subject, work, interval, 10) + let state = State(subject, work, interval, 20) process.new_selector() |> process.selecting(subject, function.identity) |> actor.Ready(state, _)