summary refs log tree commit diff
path: root/tests/util/test_expiring_cache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>`
* Allow configuration of Synapse's cache without using synctl or environment ↵Amber Brown2020-05-111-1/+1
| | | | variables (#6391)
* Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-211-1/+0
| | | | | | | | ExpiringCache required that `start()` be called before it would actually start expiring entries. A number of places didn't do that. This PR removes `start` from ExpiringCache, and automatically starts backround reaping process on creation instead.
* Run black.black2018-08-101-1/+0
|
* run isortAmber Brown2018-07-091-2/+2
|
* Add ExpiringCache testsErik Johnston2017-01-161-0/+84