Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKTV-35412 : ResidentApp is not restarted automatically when it was crashed #6038

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions Monitor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [2.0.1] - 2025-02-04
### Changed
- Bring back the Delay changes in Thread Restart Logic

## [2.0.0] - 2024-12-12
### Changed
- Synced Monitor Plugin with WebPlatformForEmbedded/ThunderNanoServicesRDK/tree/R4_4/Monitor
Expand Down
4 changes: 2 additions & 2 deletions Monitor/Monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#define API_VERSION_NUMBER_MAJOR 2
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 0
#define API_VERSION_NUMBER_PATCH 1

namespace WPEFramework {
namespace Plugin {
Expand Down Expand Up @@ -163,4 +163,4 @@ namespace Plugin {
return (result);
}
}
}
}
4 changes: 2 additions & 2 deletions Monitor/Monitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ POP_WARNING()
_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().Submit(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));
}
}
}
Expand Down Expand Up @@ -1049,4 +1049,4 @@ POP_WARNING()
}
}

#endif // __MONITOR_H
#endif // __MONITOR_H
Loading