dendrite/publicroomsapi
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
..
consumers Fix sarama import URLs (#856) 2020-04-22 15:26:56 +01:00
directory Allow anyone to publish rooms (#971) 2020-04-17 12:17:20 +01:00
routing Check if user has the power level to edit the room visibility (#900) 2020-04-14 14:07:03 +01:00
storage Limit database connections (#564) 2020-04-26 21:11:41 +02:00
types p2p: Implement published rooms (#923) 2020-03-19 11:04:08 +00:00
publicroomsapi.go WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Public rooms API

This server is responsible for serving requests hitting /publicRooms and /directory/list/room/{roomID} as per:

https://matrix.org/docs/spec/client_server/r0.2.0.html#listing-rooms