dendrite/syncapi/storage/postgres
Tomas Jirka 41157359c6 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>
2020-04-26 21:11:41 +02:00
..
account_data_table.go Log errors from rows.Close (#920) 2020-03-18 10:17:18 +00:00
backward_extremities_table.go Tweaks to backfill (#964) 2020-04-15 14:39:27 +01:00
current_room_state_table.go HeaderedEvents in sync API (#922) 2020-03-19 12:07:01 +00:00
filtering.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
invites_table.go HeaderedEvents in sync API (#922) 2020-03-19 12:07:01 +00:00
output_room_events_table.go Implement backfill over federation (#938) 2020-03-24 12:20:10 +00:00
output_room_events_topology_table.go HeaderedEvents in sync API (#922) 2020-03-19 12:07:01 +00:00
syncserver.go Limit database connections (#564) 2020-04-26 21:11:41 +02:00