Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions rclcpp_action/src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,8 @@ class ServerBaseImpl

auto ret2 = rcl_timer_get_time_until_next_call(expire_timer, &time_until_call);
if (ret2 == RCL_RET_TIMER_CANCELED) {
rclcpp::Time endless(std::chrono::duration_cast<std::chrono::nanoseconds>(
std::chrono::hours(100)).count(), clock_type);
expire_cv->wait_until(l, endless, [this] () -> bool {
rclcpp::Duration endless(std::chrono::hours(100));
expire_cv->wait_until(l, clock_->now() + endless, [this] () -> bool {
return expire_time_changed || terminate_expire_thread;
});
continue;
Expand Down