Skip to content
Snippets Groups Projects
  1. Jan 17, 2022
    • Richard van der Hoff's avatar
      Improve `reactor_tick_time` metric (#11724) · 6a78ede5
      Richard van der Hoff authored
      The existing implementation of the `python_twisted_reactor_tick_time` metric is pretty useless, because it *only* 
      measures the time taken to execute timed calls and callbacks from threads. That neglects everything that 
      happens off the back of I/O, which is obviously quite a lot for us.
      
      To improve this, I've hooked into a different place in the reactor - in particular, where it calls `epoll`. That call is 
      the only place it should wait for something to happen - the rest of the loop *should* be quick.
      
      I've also removed `python_twisted_reactor_pending_calls`, because I don't believe anyone ever looks at it, and
      it's a nuisance to populate.
      Unverified
      6a78ede5
    • Daniel Sonck's avatar
      Make pagination of rooms in admin api stable (#11737) · 6b241f52
      Daniel Sonck authored
      
      Always add state.room_id after the configurable ORDER BY. Otherwise,
      for any sort, certain pages can contain results from
      other pages. (Especially when sorting by creator, since there may
      be many rooms by the same creator)
      
      * Document different order direction of numerical fields
      
      "joined_members", "joined_local_members", "version" and "state_events"
      are ordered in descending direction by default (dir=f). Added a note
      in tests to explain the differences in ordering.
      
      Signed-off-by: default avatarDaniël Sonck <daniel@sonck.nl>
      Unverified
      6b241f52
  2. Jan 14, 2022
  3. Jan 13, 2022
  4. Jan 12, 2022
  5. Jan 10, 2022
  6. Jan 08, 2022
  7. Jan 07, 2022
  8. Jan 06, 2022
Loading