Skip to content

Commit

Permalink
Make Pulsar Docker have very short ttl cache time so that bookie chan…
Browse files Browse the repository at this point in the history
…ges etc are reacted to quickly (apache#2774)
  • Loading branch information
srkukarni authored Oct 12, 2018
1 parent 592737a commit 9bf3357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ COPY scripts/install-pulsar-client.sh /pulsar/bin

ADD target/python-client/ /pulsar/pulsar-client
RUN /pulsar/bin/install-pulsar-client.sh
RUN echo networkaddress.cache.ttl=1 >> $JAVA_HOME/jre/lib/security/java.security

WORKDIR /pulsar

Expand Down

0 comments on commit 9bf3357

Please sign in to comment.