Rename handle of events fetch

This commit is contained in:
Mike Dilger 2023-01-02 23:29:58 +13:00
parent f991813f27
commit e05b68f05e
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ impl Minion {
.get_handle_by_id(&subid.0)
.unwrap_or_else(|| "_".to_owned());
let close: bool = &handle[0..5] == "event";
let close: bool = &handle[0..5] == "temp_";
// Update the matching subscription
match self.subscriptions.get_mut_by_id(&subid.0) {

View File

@ -367,7 +367,7 @@ impl Minion {
debug!("{}: Event Filter: {} events", &self.url, filter.ids.len());
// create a handle for ourselves
let handle = format!("events{}", self.next_events_subscription_id);
let handle = format!("temp_events_{}", self.next_events_subscription_id);
self.next_events_subscription_id += 1;
// save the subscription