From 688a798fa28d491370f4dd0df2d8adf1882b1c3e Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Mon, 22 Jun 2020 17:31:18 +0300 Subject: [PATCH] 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 --- src/components/notifications.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/notifications.rs b/src/components/notifications.rs index 3d45d9f3..6ea54324 100644 --- a/src/components/notifications.rs +++ b/src/components/notifications.rs @@ -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), } } }