Commit Graph

19 Commits (ca98241e18082bf6ecd7fb11953053dba5bce9ca)

Author SHA1 Message Date
Andrew Morgan ca98241e18 lint 2020-04-27 20:10:15 +01:00
Andrew Morgan 5acca12064 Some variable cleanups in cache.py 2020-04-27 20:08:45 +01:00
Andrew Morgan fcc9c3ac01 dict() -> {} 2020-04-24 21:37:31 +01:00
Andrew Morgan 5f3eddcdc3 Refactor globals in CacheConfig 2020-04-24 20:46:32 +01:00
Andrew Morgan f300c08d98 Merge branch 'develop' of github.com:matrix-org/synapse into hawkowl/cache-config-without-synctl
* 'develop' of github.com:matrix-org/synapse: (76 commits)
  1.12.4
  Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_token""
  Revert "Merge pull request #7315 from matrix-org/babolivier/request_token"
  Stop the master relaying USER_SYNC for other workers (#7318)
  Config option to inhibit 3PID errors on /requestToken
  Fix replication metrics when using redis (#7325)
  formatting for the changelog
  Another go at fixing one-word commands (#7326)
  1.12.4rc1
  1.12.4rc1
  fix changelog name
  Extend StreamChangeCache to support multiple entities per stream ID (#7303)
  Extend room admin api with additional attributes (#7225)
  Add ability to run replication protocol over redis. (#7040)
  Do not treat display names as globs for push rules. (#7271)
  Reduce logging verbosity of URL cache cleanup. (#7295)
  Query missing cross-signing keys on local sig upload (#7289)
  import urllib.parse when using urllib.parse.quote (#7319)
  Reduce federation logging on success (#7321)
  Fix changelog file
  ...
2020-04-24 15:14:18 +01:00
Andrew Morgan 905c83352d Add some mypy ignores 2020-04-06 17:52:38 +01:00
Andrew Morgan fec13bedd6 Fix lint 2020-04-06 17:43:05 +01:00
Andrew Morgan de2565959f Fix typing 2020-04-03 18:42:05 +01:00
Andrew Morgan cc1dd98362 lint 2020-04-03 18:09:55 +01:00
Andrew Morgan 14fbf27709 Merge branch 'hawkowl/cache-config-without-synctl' of github.com:matrix-org/synapse into hawkowl/cache-config-without-synctl
* 'hawkowl/cache-config-without-synctl' of github.com:matrix-org/synapse:
  Update synapse/config/cache.py
2020-04-03 18:01:33 +01:00
Andrew Morgan be0737adc3 Move _DEFAULT_CONFIG to class method 2020-04-03 18:00:53 +01:00
Andrew Morgan 4ed7aa1b34 Move separate CacheConfig global vars into a single global dict 2020-04-03 17:59:09 +01:00
Andrew Morgan 7117b89b58
Update synapse/config/cache.py
Co-Authored-By: Erik Johnston <erik@matrix.org>
2020-04-03 17:25:13 +01:00
Amber H. Brown 2619891343 fix 2020-02-17 17:50:35 +11:00
Amber H. Brown 5f508e728a add tests for individual cache sizing, and fix up the individual cache sizing logic that got deleted when resizing-on-the-fly did 2020-02-17 17:47:56 +11:00
Amber H. Brown a96b5d9ca7 Load cache factors from the environment, and add a test. 2020-01-21 23:46:08 +11:00
Amber H. Brown a21702fe76 cleanup so it can refer to late-config 2020-01-17 01:48:27 +11:00
Amber H. Brown 0a02b2a1c5 cleanup 2020-01-17 01:05:50 +11:00
Amber H. Brown a14831d209 Move cache configuration into a homeserver config option, instead of environment variables. 2019-11-21 06:31:37 +11:00