Fix: notifications fetcher double fetching on every tick
All threads resolved!
All threads resolved!
the problem: it fetches notifications twice on every tick
removed some unnecessary pointless code (fetchAndUpdate doesn't do much when the application starts fetching notifications immediately anyway)
changed the notifications fetcher to not do the second fetch if it was going to be the same as the first one
Edited by Shpuld Shpludson
Merge request reports
Activity
- Resolved by Shpuld Shpludson
- Resolved by lain
This doesn't do an initial fetch if websocket streaming is activated, so you'll have an empty notifications column
added 1 commit
- a3e370e9 - add initial fetching back in a more streamlined way
added 1 commit
- 3ebd4e44 - document the 'mark-as-read-detection' system
- Resolved by Shpuld Shpludson
added 1 commit
- 9178908c - Apply suggestion to src/components/notifications/notifications.js
enabled an automatic merge when the pipeline for 9178908c succeeds
mentioned in commit b761bcf3
Please register or sign in to reply