2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-07-01 11:20:41 +00:00

Notification frequency (#662)

* Adjust notification check frequency

- 60s vs 5s

* Bump release notes
This commit is contained in:
Oliver
2025-06-23 20:11:20 +10:00
committed by GitHub
parent a18c5d8354
commit e9db6532e4
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Replace barcode scanning library for better performance - Replace barcode scanning library for better performance
- Display part pricing information - Display part pricing information
- Fix broken documentation link - Fix broken documentation link
- Reduce frequency of notification checks
- Updated translations - Updated translations
### 0.18.1 - April 2025 ### 0.18.1 - April 2025

View File

@ -680,7 +680,7 @@ class InvenTreeAPI {
if (_notification_timer == null) { if (_notification_timer == null) {
debug("starting notification timer"); debug("starting notification timer");
_notification_timer = Timer.periodic( _notification_timer = Timer.periodic(
Duration(seconds: 5), Duration(seconds: 60),
(timer) { (timer) {
_refreshNotifications(); _refreshNotifications();
}); });