mirror of
https://github.com/element-hq/synapse.git
synced 2026-01-16 23:00:43 +00:00
This changes the arguments in clock functions to be `Duration` and converts call sites and constants into `Duration`. There are still some more functions around that should be converted (e.g. `timeout_deferred`), but we leave that to another PR. We also changes `.as_secs()` to return a float, as the rounding broke things subtly. The only reason to keep it (its the same as `timedelta.total_seconds()`) is for symmetry with `as_millis()`. Follows on from https://github.com/element-hq/synapse/pull/19223 |
||
|---|---|---|
| .. | ||
| http | ||
| storage | ||
| tcp | ||
| __init__.py | ||
| _base.py | ||
| test_auth.py | ||
| test_client_reader_shard.py | ||
| test_federation_ack.py | ||
| test_federation_sender_shard.py | ||
| test_module_cache_invalidation.py | ||
| test_multi_media_repo.py | ||
| test_pusher_shard.py | ||
| test_sharded_event_persister.py | ||
| test_sharded_receipts.py | ||