Closed MayeulC closed 4 months ago
This should make it easier for curious user to play with cache settings, and can be activated by default at a later time.
Maybe we should shortly document that in this repository ReadMe (for instance), to improve discoverability of such features ?
Actually my comments are a bit outdated, it seems (I've been running the current config for about one year) : upstream changed the default caching period to 2 min a few months ago: https://github.com/matrix-org/synapse/pull/13042 so maybe the change isn't that necessary after all.
Element timeouts after 90s though, which is longer than nginx's default of (IIRC) 60s.
Hmm, about the documentation, yes, but I would rather point to upstream docs, and/or the config file comments.
Hmm, about the documentation, yes, but I would rather point to upstream docs, and/or the config file comments.
I don't mean a full tutorial : mentioning the existence of these settings, pointing to the doc and/or the specific file to modify, is enough :)
By the way, should this be pointing to Testing instead ?
Sorry, I clicked too fast in the GitHub interface. Edit: changed base
Also, I had forgotten part of the nginx config... And I was wondering why Matrix was so silent today :P
I added a commit that mentions cache tuning. I am not sure the preferred way to edit the configuration is by editing homeserver.yaml, but that's what I've been doing (overwritten on upgrade, hence the PR).
Closing as there are still some work to make it working.
Problem
Solution
I also left commented out other caching options I use as I have plenty of RAM. The comments are taken from upstream homeserver.yaml. This should make it easier for curious user to play with cache settings, and can be activated by default at a later time.
PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)