Browse Source

XDGNotifications: increase rate limiting

3 notifications evenly spread per second did not make any sense.
Increase it to 1000 and see if it's ok
tags/alpha-0.6.0
Manos Pitsidianakis 10 months ago
parent
commit
688a798fa2
Signed by: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/components/notifications.rs

+ 1
- 1
src/components/notifications.rs View File

@ -44,7 +44,7 @@ impl fmt::Display for XDGNotifications {
impl XDGNotifications {
pub fn new() -> Self {
XDGNotifications {
rate_limit: RateLimit::new(3, 1000),
rate_limit: RateLimit::new(1000, 1000),
}
}
}

Loading…
Cancel
Save