dendrite/federationapi
Till 5c0ceec2a6
Don't attempt to send transactions if Dendrite is shutting down (#3356)
This should avoid confusions with logs like:

```
time="2024-04-08T08:38:45.104235081Z" level=error msg="Failed to set \"scs.ems.host\" as assumed offline" func="github.com/matrix-org/dendrite/federationapi/statistics.(*ServerStatistics).Failure" file="github.com/matrix-org/dendrite/federationapi/statistics/statistics.go:204" error="sqlutil.WithTransaction.Begin: sql: database is closed"
time="2024-04-08T08:38:45.104239201Z" level=error msg="Failed to set \"obermui.de\" as assumed offline" func="github.com/matrix-org/dendrite/federationapi/statistics.(*ServerStatistics).Failure" file="github.com/matrix-org/dendrite/federationapi/statistics/statistics.go:204" error="sqlutil.WithTransaction.Begin: sql: database is closed"
```

or 

```
time="2024-04-08T08:38:45.105235411Z" level=error msg="Failed to get pending EDUs for \"retro76.net\"" func="github.com/matrix-org/dendrite/federationapi/queue.(*destinationQueue).getPendingFromDatabase" file="github.com/matrix-org/dendritefederationapi/queue/destinationqueue.go:258" error="sqlutil.WithTransaction.Begin: sql: database is closed"
```

[skip ci]
2024-04-09 07:49:56 +02:00
..
api de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
consumers Update gmsl to use new validated RoomID on PDUs (#3200) 2023-09-15 14:39:06 +00:00
internal Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00
producers refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
queue Don't attempt to send transactions if Dendrite is shutting down (#3356) 2024-04-09 07:49:56 +02:00
routing Fix spaces over federation (#3347) 2024-03-28 20:40:45 +01:00
statistics Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00
storage Add keydb_server_keys table tests (#3270) 2023-11-22 13:05:24 +01:00
types refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
federationapi_keys_test.go Move fedclient interface over to gmsl (#3061) 2023-04-24 16:23:25 +00:00
federationapi_test.go Fix notary keys requests for all keys (#3296) 2024-01-08 19:14:29 +01:00
federationapi.go Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00