Skip to content

Commit 81f6eb2

Browse files
committed
Increase SIGTERM timeout to 10 seconds by default
1 parent caed9a2 commit 81f6eb2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mocha_core/launch/database_translators_publishers.launch.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def generate_launch_description():
4646
description='Path to radio configuration file'
4747
)
4848

49+
sigterm_timeout_arg = DeclareLaunchArgument(
50+
'sigterm_timeout', default_value='10',
51+
description='Modify default SIGTERM timeout to 10 seconds'
52+
)
53+
4954
# Get launch configurations
5055
robot_name = LaunchConfiguration('robot_name')
5156
robot_configs = LaunchConfiguration('robot_configs')
@@ -92,6 +97,7 @@ def generate_launch_description():
9297
)
9398

9499
return LaunchDescription([
100+
sigterm_timeout_arg,
95101
robot_name_arg,
96102
robot_configs_arg,
97103
topic_configs_arg,

0 commit comments

Comments
 (0)