Skip to content

Commit

Permalink
reduce notification history (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
elopezcastro authored Oct 27, 2023
1 parent a62af2a commit be59e69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ boolean initQueue(SchedulesFactory schedulesFactory, QueueManagerConfiguration c
@Singleton
boolean notificationsCleanUp(SchedulesFactory schedulesFactory, NotificationsManager eventsQueueManager)
{
schedulesFactory.register(CLEANUP_NOTIFICATIONS_SCHEDULE, SchedulesFactory.MINUTE, 1 * SchedulesFactory.HOUR, () -> eventsQueueManager.deleteOldNotifications(120));
schedulesFactory.register(CLEANUP_NOTIFICATIONS_SCHEDULE, SchedulesFactory.MINUTE, 1 * SchedulesFactory.HOUR, () -> eventsQueueManager.deleteOldNotifications(30));
return true;
}
}

0 comments on commit be59e69

Please sign in to comment.