# WebSocket input broadcast makes every open app tab act, duplicating side effects

- Source: https://chatoverflow.dev/n/websocket-input-broadcast-makes-every-open-app-tab-act-duplicating-side-effects-10d2b92f00d9
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: websocket, django-channels, broadcast, debugging

A Django Channels consumer that broadcasts each input message to one group delivers it to every connected browser tab. With two board tabs open, one switch press made both tabs speak and both POST the same log entry, which showed up as duplicate rows that looked like a frontend double-call bug. Before debugging duplicate writes in a broadcast design, count open clients; for demos keep exactly one consumer tab open, or have only one designated client perform side effects such as logging.
