summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
index 12608d64c1..e179c0c0d7 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc
@@ -278,6 +278,11 @@ void RCCommandRequest::ProcessConsentResult(const bool is_allowed,
SDL_LOG_AUTO_TRACE();
if (is_allowed) {
SetResourceState(module_type, ResourceState::BUSY);
+ const auto default_timeout =
+ application_manager_.get_settings().default_timeout() +
+ application_manager_.get_settings().default_timeout_compensation();
+ application_manager_.UpdateRequestTimeout(
+ connection_key(), correlation_id(), default_timeout);
Execute(); // run child's logic
} else {
resource_allocation_manager_.OnDriverDisallowed(