From e9db6532e479a891a6c2230bd2a27ab95e07f374 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 23 Jun 2025 20:11:20 +1000 Subject: [PATCH] Notification frequency (#662) * Adjust notification check frequency - 60s vs 5s * Bump release notes --- assets/release_notes.md | 1 + lib/api.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/release_notes.md b/assets/release_notes.md index 14d3df32..c69b6584 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -3,6 +3,7 @@ - Replace barcode scanning library for better performance - Display part pricing information - Fix broken documentation link +- Reduce frequency of notification checks - Updated translations ### 0.18.1 - April 2025 diff --git a/lib/api.dart b/lib/api.dart index c8e706fa..e8619adf 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -680,7 +680,7 @@ class InvenTreeAPI { if (_notification_timer == null) { debug("starting notification timer"); _notification_timer = Timer.periodic( - Duration(seconds: 5), + Duration(seconds: 60), (timer) { _refreshNotifications(); });