ekster/cmd/eksterd
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
..
db/migrations Problem: no sources in database 2022-04-20 13:22:06 +02:00
templates Problem: templates are not used 2021-11-20 23:27:06 +01:00
app.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
auth.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
database_test.go Problem: no source in micropub item 2022-04-20 13:44:19 +02:00
http.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
hubbackend.go Close the rows an incoming publish opens 2026-11-08 01:42:00 +01:00
incoming.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
main.go Problem: no sources in database 2022-04-20 13:22:06 +02:00
memory_test.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00
memory.go Problem: unread channels are at random positions 2022-04-30 14:10:29 +02:00
micropub.go Problem: no source in micropub item 2022-04-20 13:44:19 +02:00
search.go Problem: licenses in files are not regular 2021-11-20 22:26:39 +01:00