Skip to content

Commit

Permalink
Reduce time between each query to get new notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Jan 23, 2024
1 parent 82bcec1 commit 48f2456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/notification_pusher/core/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl<I: IndexStore> Reader<I> {
pub async fn run(self) {
info!(%self.notifications_canister_id, "Notifications reader started");

let mut interval = time::interval(time::Duration::from_secs(2));
let mut interval = time::interval(time::Duration::from_secs(1));
loop {
if self.sender.is_full() {
error!("Notifications queue is full");
Expand Down

0 comments on commit 48f2456

Please sign in to comment.