diff --git a/docs/extensions/mediawiki.md b/docs/extensions/mediawiki.md index 255a443..f5e124f 100644 --- a/docs/extensions/mediawiki.md +++ b/docs/extensions/mediawiki.md @@ -17,11 +17,9 @@ This extension uses its own cache, separate from the MusicBrainz loader cache. This extension can be configured using environment variables: -* **`COVER_ART_ARCHIVE_BASE_URL`**: The base URL at which to access to Cover Art - Archive API. Defaults to `http://coverartarchive.org/`. -* **`COVER_ART_ARCHIVE_CACHE_SIZE`**: The number of items to keep in the cache. +* **`MEDIAWIKI_CACHE_SIZE`**: The number of items to keep in the cache. Defaults to `GRAPHBRAINZ_CACHE_SIZE` if defined, or `8192`. -* **`COVER_ART_ARCHIVE_CACHE_TTL`**: The number of seconds to keep items in the +* **`MEDIAWIKI_CACHE_TTL`**: The number of seconds to keep items in the cache. Defaults to `GRAPHBRAINZ_CACHE_TTL` if defined, or `86400000` (one day). [relationships]: https://musicbrainz.org/relationships diff --git a/src/extensions/mediawiki/prologue.md b/src/extensions/mediawiki/prologue.md index f296d34..63b89a4 100644 --- a/src/extensions/mediawiki/prologue.md +++ b/src/extensions/mediawiki/prologue.md @@ -13,11 +13,9 @@ This extension uses its own cache, separate from the MusicBrainz loader cache. This extension can be configured using environment variables: -* **`COVER_ART_ARCHIVE_BASE_URL`**: The base URL at which to access to Cover Art - Archive API. Defaults to `http://coverartarchive.org/`. -* **`COVER_ART_ARCHIVE_CACHE_SIZE`**: The number of items to keep in the cache. +* **`MEDIAWIKI_CACHE_SIZE`**: The number of items to keep in the cache. Defaults to `GRAPHBRAINZ_CACHE_SIZE` if defined, or `8192`. -* **`COVER_ART_ARCHIVE_CACHE_TTL`**: The number of seconds to keep items in the +* **`MEDIAWIKI_CACHE_TTL`**: The number of seconds to keep items in the cache. Defaults to `GRAPHBRAINZ_CACHE_TTL` if defined, or `86400000` (one day). [relationships]: https://musicbrainz.org/relationships