ekster/cmd
Peter Stuifzand 061e3ba3ac
Close the rows an incoming publish opens
UpdateFeed and Feeds query and never close the result set, so every WebSub
delivery holds a pooled connection until the process exits. The database hit
max_connections tonight, psql could not connect, postgresStream.Init() failed,
timeline.Create returned nil and every push answered 400 "timeline not found"
- with an error that named a timeline rather than the exhausted pool. The
reader had received no pushes at all.

The feed body is also read once now: passing the request body straight to
ProcessContent empties it for the second channel a feed belongs to.

Tests need the redis and postgres services the pipeline starts; the build was
checked locally, not the suite.
2026-11-08 01:42:00 +01:00
..
ek Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
eksterd Close the rows an incoming publish opens 2026-11-08 01:42:00 +01:00
jf2test Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00