Skip to content

Commit

Permalink
Merge pull request #20 from plivo/region-add-ini
Browse files Browse the repository at this point in the history
adds region to sharq ini ctmpl
  • Loading branch information
likithplivo committed Jul 17, 2020
2 parents 2386d48 + 15fe597 commit 6591da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/sharq.ini.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ master = true
autoload = true

# spawn n uWSGI worker processes
workers = {{ printf "%s/%s/%s/config/uwsgi/num_workers" (env "TEAM") (env "ENVIRONMENT") (env "SHARQ_TYPE") | key | parseInt }}
workers = {{ printf "%s/%s/%s/%s/config/uwsgi/num_workers" (env "TEAM") (env "ENVIRONMENT") (env "SHARQ_TYPE") (env "REGION") | key | parseInt }}

# automatically kill workers on master's death
no-orphans = true
Expand All @@ -20,7 +20,7 @@ socket = /var/run/sharq/sharq.sock
# set mode of created UNIX socket
chmod-socket = 666

{{$loggingKeyName := printf "%s/%s/%s/config/logging/disable" (env "TEAM") (env "ENVIRONMENT") (env "SHARQ_TYPE")}}
{{$loggingKeyName := printf "%s/%s/%s/%s/config/logging/disable" (env "TEAM") (env "ENVIRONMENT") (env "SHARQ_TYPE") (env "REGION")}}
{{ if key $loggingKeyName | parseBool }}
disable-logging=True
{{ end }}
Expand Down

0 comments on commit 6591da5

Please sign in to comment.