Skip to content

Make fetch interval configurable #2284

@alexey-anufriev

Description

@alexey-anufriev

📝 Provide a description of the new feature

Currently, Gitify fetches notifications from all configured repositories at a fixed interval - 1 minute.
When using Gitify with a large number of repositories (I have 40+), this results in a noticeable network traffic.

As I see, there’s no UI setting to adjust this interval, it’s hardcoded in FETCH_NOTIFICATIONS_INTERVAL_MS.

Why does it even matter for me?

Generated traffic:

  • causes load on CPU/network
  • may hit GitHub’s rate limits
  • unnecessary battery drain on my mac

I would prefer a longer polling interval (e.g., every 5–15 minutes), yet someone may want even shorter intervals for near-real-time updates.

Proposed Solution

Make the fetch interval configurable in UI, e.g., “Check for new notifications every: [1m (default) / 5m / 10m / custom]”). Custom will be defined in seconds, lower limit could be 15 seconds, in order to not explode the network.

➕ Additional Information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or enhancement to existing functionalitypriority:mediumItems of medium importance. Applicable to most users or use-cases

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions