mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
make all caches individually configurable
Also: * Removes the `cache_capacity_modifier` option * Renames the `pdu_cache_capacity` option to `cache.pdu`
This commit is contained in:
parent
9fab7538a0
commit
1148c6004f
4 changed files with 65 additions and 110 deletions
|
|
@ -81,27 +81,26 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
database backends.
|
||||
* The latter two commands had poor UX and didn't have any noticable effect on
|
||||
memory consumption.
|
||||
9. **BREAKING:** Remove the `global.conduit_cache_capacity_modifier` and
|
||||
`global.pdu_cache_capacity` configuration options.
|
||||
([!124](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/124))
|
||||
* Instead, it is now possible to configure each cache capacity individually.
|
||||
|
||||
### Changed
|
||||
|
||||
1. **BREAKING:** Rename `conduit_cache_capacity_modifier` configuration option
|
||||
to `cache_capacity_modifier`.
|
||||
([5619d7e](https://gitlab.computer.surgery/matrix/grapevine/-/commit/5619d7e3180661731800e253b558b88b407d2ae7))
|
||||
* If you are explicitly setting this configuration option, make sure to
|
||||
change its name before updating.
|
||||
2. **BREAKING:** Rename Conduit to Grapevine.
|
||||
1. **BREAKING:** Rename Conduit to Grapevine.
|
||||
([360e020](https://gitlab.computer.surgery/matrix/grapevine/-/commit/360e020b644bd012ed438708b661a25fbd124f68))
|
||||
* The `CONDUIT_VERSION_EXTRA` build-time environment variable has been
|
||||
renamed to `GRAPEVINE_VERSION_EXTRA`. This change only affects distribution
|
||||
packagers or non-Nix users who are building from source. If you fall into
|
||||
one of those categories *and* were explicitly setting this environment
|
||||
variable, make sure to change its name before building Grapevine.
|
||||
3. **BREAKING:** Change the default port from 8000 to 6167.
|
||||
2. **BREAKING:** Change the default port from 8000 to 6167.
|
||||
([f205280](https://gitlab.computer.surgery/matrix/grapevine/-/commit/f2052805201f0685d850592b1c96f4861c58fb22))
|
||||
* If you relied on the default port being 8000, either update your other
|
||||
configuration to use the new port, or explicitly configure Grapevine's port
|
||||
to 8000.
|
||||
4. Improve tracing spans and events.
|
||||
3. Improve tracing spans and events.
|
||||
([!11 (a275db3)](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/11/diffs?commit_id=a275db3847b8d5aaa0c651a686c19cfbf9fdb8b5)
|
||||
(merged as [5172f66](https://gitlab.computer.surgery/matrix/grapevine/-/commit/5172f66c1a90e0e97b67be2897ae59fbc00208a4)),
|
||||
[!11 (a275db3)](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/11/diffs?commit_id=a275db3847b8d5aaa0c651a686c19cfbf9fdb8b5)
|
||||
|
|
@ -117,31 +116,31 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
[!69](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/69),
|
||||
[!102](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/102),
|
||||
[!127](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/127))
|
||||
5. Stop returning unnecessary member counts from `/_matrix/client/{r0,v3}/sync`.
|
||||
4. Stop returning unnecessary member counts from `/_matrix/client/{r0,v3}/sync`.
|
||||
([!12](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/12))
|
||||
6. **BREAKING:** Allow federation by default.
|
||||
5. **BREAKING:** Allow federation by default.
|
||||
([!24](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/24))
|
||||
* If you relied on federation being disabled by default, make sure to
|
||||
explicitly disable it before upgrading.
|
||||
7. **BREAKING:** Remove the `[global]` section from the configuration file.
|
||||
6. **BREAKING:** Remove the `[global]` section from the configuration file.
|
||||
([!38](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/38))
|
||||
* Details on how to migrate can be found in the merge request's description.
|
||||
8. **BREAKING:** Allow specifying multiple transport listeners in the
|
||||
7. **BREAKING:** Allow specifying multiple transport listeners in the
|
||||
configuration file.
|
||||
([!39](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/39))
|
||||
* Details on how to migrate can be found in the merge request's description.
|
||||
9. Increase default log level so that span information is included.
|
||||
8. Increase default log level so that span information is included.
|
||||
([!50](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/50))
|
||||
10. **BREAKING:** Reorganize config into sections.
|
||||
([!49](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/49))
|
||||
* Details on how to migrate can be found in the merge request's description.
|
||||
11. Try to generate thumbnails for remote media ourselves if the federation
|
||||
9. **BREAKING:** Reorganize config into sections.
|
||||
([!49](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/49))
|
||||
* Details on how to migrate can be found in the merge request's description.
|
||||
10. Try to generate thumbnails for remote media ourselves if the federation
|
||||
thumbnail request fails.
|
||||
([!58](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/58))
|
||||
12. **BREAKING:** Disable unauthenticated access to media by default, set the
|
||||
11. **BREAKING:** Disable unauthenticated access to media by default, set the
|
||||
`serve_media_unauthenticated` config option to `true` to enable it.
|
||||
([!103](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/103))
|
||||
13. **BREAKING:** Split CLI into multiple subcommands. The CLI invocation to run
|
||||
12. **BREAKING:** Split CLI into multiple subcommands. The CLI invocation to run
|
||||
the server is now behind the `serve` command, so `grapevine --config ...`
|
||||
becomes `grapevine serve --config ...`.
|
||||
([!108](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/108))
|
||||
|
|
@ -275,3 +274,5 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
24. Add a `check-config` CLI subcommand to check whether the configuration file
|
||||
is valid.
|
||||
([!121](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/121))
|
||||
25. Add configuration options to tune the value of each cache individually.
|
||||
([!124](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/124))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue