From a3fc3e97afbb05c867f0744521b60db7e668c015 Mon Sep 17 00:00:00 2001 From: Brian Beck Date: Thu, 19 Oct 2017 08:36:26 -0700 Subject: [PATCH] Fix Cover Art Archive config showing in MediaWiki extension docs --- docs/extensions/mediawiki.md | 6 ++---- src/extensions/mediawiki/prologue.md | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) 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