0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 19:43:49 +01:00
dendrite/cmd
Neil Alexander f7cfa75886
Limit database connections (#980, #564) (#998)
* Limit database connections (#564)

- Add new options to the config file database:
      max_open_conns: 100
      max_idle_conns: 2
      conn_max_lifetime: -1
- Implement connection parameter setup on the *DB (database/sql) in internal/sqlutil/trace.go:Open()
- Propagate the values in the form of DbProperties interface via all the
  Open() and NewDatabase() functions

Signed-off-by: Tomas Jirka <tomas.jirka@email.cz>

* Fix wasm builds

* Remove file accidentally added from working tree

Co-authored-by: Tomas Jirka <tomas.jirka@email.cz>
2020-05-01 13:34:53 +01:00
..
client-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
create-account Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
create-room-events Further room version wiring (#936) 2020-03-27 16:28:22 +00:00
dendrite-appservice-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendrite-client-api-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendrite-demo-libp2p Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
dendrite-edu-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-federation-api-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendrite-federation-sender-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendrite-media-api-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-monolith-server Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
dendrite-public-rooms-api-server Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
dendrite-room-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendrite-sync-api-server Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
dendritejs Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
federation-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
generate-keys use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
kafka-producer Fix sarama import URLs (#856) 2020-04-22 15:26:56 +01:00
mediaapi-integration-tests use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
roomserver-integration-tests Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
syncserver-integration-tests Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914) 2020-03-17 11:01:25 +00:00