Feed Polling Configuration
Component Detail
Infrastructure
low complexity
backendfrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Environment-variable-driven configuration for the activity feed, covering the polling interval (default 60 seconds for MVP), feed retention period (default 90 days), and pagination page size. Provides a single place to promote to websocket push in a later iteration without touching business logic.
feed-polling-config
Responsibilities
- Expose FEED_POLL_INTERVAL_MS, FEED_RETENTION_DAYS, and FEED_PAGE_SIZE as typed config values consumed by Feed Service and Activity Feed Widget
- Document the websocket upgrade path so the polling interval can be set to 0 to disable polling when push is implemented
Interfaces
getFeedConfig(): FeedConfig