Skip to content

Commit

Permalink
Alter redix backoff_max and timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Edmondfrank <[email protected]>
  • Loading branch information
EdmondFrank committed Aug 29, 2024
1 parent b9fa653 commit 775d465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compass_admin/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule CompassAdmin.Application do
# Start the Endpoint (http/https)
CompassAdminWeb.Endpoint,
# Start Redix
{Redix, {System.get_env("REDIS_URL") || redis_url, [name: :redix]}},
{Redix, {System.get_env("REDIS_URL") || redis_url, [name: :redix, backoff_max: 2_000, timeout: 2_000], }},
{Redlock,
[
pool_size: 2,
Expand Down

0 comments on commit 775d465

Please sign in to comment.