Skip to content

Commit

Permalink
Add back MOJO_INACTIVITY_TIMEOUT (since it sets our *daemon* reply ti…
Browse files Browse the repository at this point in the history
…meout)
  • Loading branch information
tianon committed Jul 20, 2019
1 parent 3fc637f commit 3ac241b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile.remote
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ RUN set -eux; \
apt-get install -y --no-install-recommends curl; \
rm -rf /var/lib/apt/lists/*

# http://mojolicious.org/perldoc/Mojolicious/Guides/FAQ#What-does-Inactivity-timeout-mean
ENV MOJO_INACTIVITY_TIMEOUT 120
# The Hub takes a while to respond, and the time it takes to respond increases as we stack up more pending requests. :)
# (We already set this in Mojo::UserAgent, but this value affects our replies to curl.)

COPY .remote.pl /usr/local/bin/remote.pl
ENTRYPOINT ["remote.pl"]

0 comments on commit 3ac241b

Please sign in to comment.