- #780 — 💥 BREAKING: Stop polling multi-channel queries every second by default
- A subscribed query with more than one channel used to default
pollIntervalto 1000, re-running against the database every second even when nothing had changed. It now has no interval by default, like a single-channel query. ThepollDebouncedefault is unchanged - Apps that already set
pollIntervalare unaffected. To restore the old interval, register thisquerymiddleware after the one that setscontext.channels:backend.use('query', (context, next) => { if (context.channels.length > 1) context.options.pollInterval = 1000 next() })
- A subscribed query with more than one channel used to default