Skip to content

Commit

Permalink
Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 13, 2023
1 parent 24d3800 commit 3cabf4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ RUN apt-get update && apt-get install -y \

RUN echo $(cat /ros2_ws/src/rosbot/package.xml | grep '<version>' | sed -r 's/.*<version>([0-9]+.[0-9]+.[0-9]+)<\/version>/\1/g') >> /version.txt

HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=5 \
HEALTHCHECK --interval=15s --timeout=10s --start-period=5s --retries=5 \
CMD ["/ros_entrypoint.sh", "ros2", "run", "healthcheck_pkg", "healthcheck_node"]

# copy scripts
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.simulation
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ RUN MYDISTRO=${PREFIX:-ros}; MYDISTRO=${MYDISTRO//-/} && \

RUN echo $(cat /ros2_ws/src/rosbot_gazebo/package.xml | grep '<version>' | sed -r 's/.*<version>([0-9]+.[0-9]+.[0-9]+)<\/version>/\1/g') > /version.txt

HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=5 \
HEALTHCHECK --interval=15s --timeout=10s --start-period=5s --retries=5 \
CMD ["/ros_entrypoint.sh", "ros2", "run", "healthcheck_pkg", "healthcheck_node"]

0 comments on commit 3cabf4a

Please sign in to comment.