Fix parsing of percentage setting for persistor from env in runtime config (#5772)

This commit is contained in:
Adrian Gruntkowski 2025-10-01 15:27:09 +02:00 committed by GitHub
parent 3bc098a906
commit c18d871d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ persistor_backend =
"remote" -> Plausible.Ingestion.Persistor.Remote "remote" -> Plausible.Ingestion.Persistor.Remote
end end
persistor_backend_percent_enabled = {persistor_backend_percent_enabled, ""} =
config_dir config_dir
|> get_var_from_path_or_env("PERSISTOR_BACKEND_PERCENT_ENABLED", "0") |> get_var_from_path_or_env("PERSISTOR_BACKEND_PERCENT_ENABLED", "0")
|> Integer.parse() |> Integer.parse()