diff --git a/Monitor/CHANGELOG.md b/Monitor/CHANGELOG.md index 3640c4852c..74010f597b 100644 --- a/Monitor/CHANGELOG.md +++ b/Monitor/CHANGELOG.md @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file. * For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README. +## [1.0.8] - 2024-07-01 +### Changed +- Added Delay in Thread Restart Logic + ## [1.0.7] - 2024-05-31 ### Changed - RDK-45345: Upgrade Sky Glass devices to use Thunder R4.4.1 diff --git a/Monitor/Monitor.cpp b/Monitor/Monitor.cpp index 4a5869c78f..57fec083ee 100644 --- a/Monitor/Monitor.cpp +++ b/Monitor/Monitor.cpp @@ -21,7 +21,7 @@ #define API_VERSION_NUMBER_MAJOR 1 #define API_VERSION_NUMBER_MINOR 0 -#define API_VERSION_NUMBER_PATCH 6 +#define API_VERSION_NUMBER_PATCH 8 namespace WPEFramework { diff --git a/Monitor/Monitor.h b/Monitor/Monitor.h index 0f2c570ff3..148e331f07 100644 --- a/Monitor/Monitor.h +++ b/Monitor/Monitor.h @@ -811,7 +811,7 @@ namespace Plugin { _service->Notify(message); _parent.event_action(callsign, "Activate", "Automatic"); TRACE(Trace::Error, (_T("Restarting %s again because we detected it misbehaved."), callsign.c_str())); - Core::IWorkerPool::Instance().Schedule(Core::Time::Now(), PluginHost::IShell::Job::Create(service, PluginHost::IShell::ACTIVATED, PluginHost::IShell::AUTOMATIC)); + Core::IWorkerPool::Instance().Schedule(Core::Time::Now().Add(5000), PluginHost::IShell::Job::Create(service, PluginHost::IShell::ACTIVATED, PluginHost::IShell::AUTOMATIC)); } } } diff --git a/docs/api/MonitorPlugin.md b/docs/api/MonitorPlugin.md index c84e279e5d..23f1f49a95 100644 --- a/docs/api/MonitorPlugin.md +++ b/docs/api/MonitorPlugin.md @@ -2,7 +2,7 @@ # Monitor Plugin -**Version: [1.0.7](https://github.com/rdkcentral/rdkservices/blob/main/Monitor/CHANGELOG.md)** +**Version: [1.0.8](https://github.com/rdkcentral/rdkservices/blob/main/Monitor/CHANGELOG.md)** A Monitor plugin for Thunder framework.