Change debounce time to notify callsite (#726)

* makes debounces a property of calls to notify rather than a global property of the notification manager

* Update appmgr/src/status/mod.rs

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Keagan McClelland
2021-10-23 21:49:51 -06:00
committed by Aiden McClelland
parent 17d0f9e533
commit 678fa0731e
5 changed files with 25 additions and 27 deletions

View File

@@ -320,6 +320,7 @@ impl Manager {
String::from("Service Crashed"),
format!("The service {} has crashed with the following exit code: {}\nDetails: {}", thread_shared.manifest.id.clone(), e.0, e.1),
NotificationSubtype::General,
Some(900) // 15 minutes
)
.await;
match res {