Skip to content
Snippets Groups Projects
  1. Nov 13, 2020
    • chagai95's avatar
      Updating README.rst (#8746) · 69147ed1
      chagai95 authored
      Minor corrections and advice... Should help beginners.
      69147ed1
    • Erik Johnston's avatar
      Add metrics for tracking 3PID /requestToken requests. (#8712) · 427ede61
      Erik Johnston authored
      The main use case is to see how many requests are being made, and how
      many are second/third/etc attempts. If there are large number of retries
      then that likely indicates a delivery problem.
      427ede61
    • Erik Johnston's avatar
      Fix port script so that it can be run again after failure. (#8755) · 1b15a3d9
      Erik Johnston authored
      If the script fails (or is CTRL-C'ed) between porting some of the events table and copying of the sequences then the port script will immediately die if run again due to the postgres DB having inconsistencies between sequences and tables.
      
      The fix is to move the porting of sequences to before porting the tables, so that there is never a period where the Postgres DB is inconsistent. To do that we need to change how we port the sequences so that it calculates the values from the SQLite DB rather than the Postgres DB.
      
      Fixes #8619 
      1b15a3d9
    • Erik Johnston's avatar
      Cache event ID to auth event IDs lookups (#8752) · 4cb00d29
      Erik Johnston authored
      This should hopefully speed up `get_auth_chain_difference` a bit in the case of repeated state res on the same rooms.
      
      `get_auth_chain_difference` does a breadth first walk of the auth graphs by repeatedly looking up events' auth events. Different state resolutions on the same room will end up doing a lot of the same event to auth events lookups, so by caching them we should speed things up in cases of repeated state resolutions on the same room.
      4cb00d29
  2. Nov 12, 2020
    • Erik Johnston's avatar
      Enable reconnection in DB pool (#8726) · c2d4467c
      Erik Johnston authored
      `adbapi.ConnectionPool` let's you turn on auto reconnect of DB connections. This is off by default.
      As far as I can tell if its not enabled dead connections never get removed from the pool.
      
      Maybe helps #8574
      c2d4467c
  3. Nov 11, 2020
  4. Nov 06, 2020
  5. Nov 05, 2020
  6. Nov 04, 2020
  7. Nov 03, 2020
  8. Nov 02, 2020
  9. Oct 30, 2020
Loading