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

@@ -161,7 +161,7 @@ impl RpcContext {
.await?;
let managers = ManagerMap::default();
let metrics_cache = RwLock::new(None);
let notification_manager = NotificationManager::new(secret_store.clone(), 3600);
let notification_manager = NotificationManager::new(secret_store.clone());
let seed = Arc::new(RpcContextSeed {
bind_rpc: base.bind_rpc.unwrap_or(([127, 0, 0, 1], 5959).into()),
bind_ws: base.bind_ws.unwrap_or(([127, 0, 0, 1], 5960).into()),