Skip to content

Commit

Permalink
also allow duplicate queries for the areas dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Hassler authored and wiktorn committed Dec 17, 2023
1 parent b6e737e commit 6e7d861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ RUN chmod a+rx /app/docker-entrypoint.sh /app/bin/update_overpass.sh /app/bin/ru

ENV OVERPASS_RULES_LOAD=${{OVERPASS_RULES_LOAD:-1}}
ENV OVERPASS_USE_AREAS=${{ENV_OVERPASS_USE_AREAS:-true}}
ENV OVERPASS_ALLOW_DUPLICATE_QUERIES=no

EXPOSE 80

Expand Down
2 changes: 1 addition & 1 deletion etc/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stdout_logfile_maxbytes=0
autorestart=true

[program:dispatcher_areas]
command=nice /app/bin/dispatcher --areas --db-dir="/db/db"
command=nice /app/bin/dispatcher --areas --db-dir="/db/db" --allow-duplicate-queries=%(ENV_OVERPASS_ALLOW_DUPLICATE_QUERIES)s
autostart=%(ENV_OVERPASS_USE_AREAS)s
user=overpass
priority=6
Expand Down

0 comments on commit 6e7d861

Please sign in to comment.