summary refs log tree commit diff
path: root/synapse/util/wheel_timer.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-2/+2
| | | | | | | Remove type hints from comments which have been added as Python type hints. This helps avoid drift between comments and reality, as well as removing redundant information. Also adds some missing type hints which were simple to fill in.
* Prevent memory leak from reoccurring when presence is disabled. (#12656)Erik Johnston2022-05-061-13/+26
|
* Add types to synapse.util. (#10601)reivilibre2021-09-101-16/+19
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
|
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+0
|
* Run Black. (#5482)Amber Brown2019-06-201-3/+1
|
* Move more xrange to sixAdrian Tschira2018-04-281-1/+3
| | | | | | plus a bonus next() Signed-off-by: Adrian Tschira <nota@notafile.com>
* fix vars named `l`Richard van der Hoff2017-10-231-4/+1
| | | | E741 says "do not use variables named ‘l’, ‘O’, or ‘I’".
* Add presence metricsErik Johnston2016-02-191-0/+6
|
* WheelTimer: Don't scan list, use index.Erik Johnston2016-02-181-5/+8
|
* Add wheeltimer implErik Johnston2016-02-171-0/+88