Add option to configure sentry pool size, and geolix worker size (#1992)

Signed-off-by: Manu S Ajith <neo@codingarena.in>
pull/1998/head
Manu S Ajith 4 years ago committed by GitHub
parent 45cc1d27a1
commit 606c162138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -227,7 +227,8 @@ config :sentry,
release: app_version,
tags: %{app_version: app_version},
enable_source_code_context: true,
root_source_code_path: [File.cwd!()]
root_source_code_path: [File.cwd!()],
hackney_pool_max_connections: get_var_from_path_or_env(config_dir, "SENTRY_POOL_SIZE") || 50
config :logger, Sentry.LoggerBackend,
capture_log_messages: true,
@ -403,6 +404,10 @@ config :kaffy,
if config_env() != :test do
config :geolix,
pool: [
size: get_var_from_path_or_env(config_dir, "GEOLIX_POOL_SIZE") || 5,
max_overflow: get_var_from_path_or_env(config_dir, "GEOLIX_POOL_MAX_OVERLFOW") || 10
],
databases: [
%{
id: :geolocation,

Loading…
Cancel
Save