Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular
adding an option to timeout subscriptions
- Dominant language
- JavaScript
- Stars
- 360
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to configure the table to stop subscriptions after a set amount of time?
My site is small, but serves as a frontend for a database that is constantly updated (every second or two, multiple times).
If a user stays idle on the table with a hundred results displaying, those results will keep on subscribing to the database collection, causing a lot of unnecessary traffic that impacts performance.
I see that there is an option to throttle the refresh, but the issue still stands regarding the subscriptions still being active.
Is it possible to kill the subscription after a set amount of time from within the table?
Contributor guide
Research direction
The issue does not name any files, tests, or entry points. Start by locating the table subscription lifecycle and the existing refresh-throttling option; done would mean defining and implementing a configurable timeout that stops idle subscriptions without disrupting active table use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100