Skip to content

Commit

Permalink
Fix the behaviour of UNCLAIMED_RECORDING_TTL to match docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Feb 5, 2024
1 parent 45078eb commit af4e2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ if config_env() in [:prod, :dev] do
if ttls = env.("UNCLAIMED_RECORDING_TTL") do
ttls =
case String.split(ttls, ",", parts: 2) do
[hide_ttl] ->
[hide: String.to_integer(hide_ttl)]
[delete_ttl] ->
[delete: String.to_integer(delete_ttl)]

[delete_ttl, delete_ttl] ->
[delete: String.to_integer(delete_ttl)]
Expand Down

0 comments on commit af4e2f6

Please sign in to comment.