Bug Reproduction Steps:
- docker compose up -d
- pnpm run dev
- go to localhost:5173 in browser and open devtools
- observe http 400 error since there are no tables
- psql "postgresql://postgres:password@localhost:54321/electric"
- create table:
create table items ( id int primary key generated always as identity );- refresh web page and observe request success
- drop and create table:
drop table items; create table items ( id int primary key generated always as identity );- refresh web page and wait ~1 minute
- observe torrent of requests and 429 responses