Skip to content

Commit 1337b47

Browse files
committed
docs: sync 0f6edb6566e4
1 parent da5f519 commit 1337b47

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

content/addons/monloader/configuration.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ paused = false # set by the footer light; holds the li
2929
concurrency = 1 # worker goroutines; applies on restart
3030
max_items_per_job = 200 # per-job cap on a bulk search
3131
default_folder = "downloads" # monbooru subfolder for pushed files
32-
history_retention_days = 7 # drop finished downloads from the queue
32+
success_retention_days = 3 # drop downloads that finished with
33+
# nothing left to do after this many
34+
# days; 0 turns it off. Must not be
35+
# longer than the window below
36+
history_retention_days = 14 # drop everything else from the queue
3337
# after this many days; 0 keeps them
3438

3539
[gallerydl]
@@ -115,6 +119,7 @@ Environment variables override the TOML on the pattern
115119
| `MONLOADER_DOWNLOADER_CONCURRENCY` | `downloader.concurrency` | int |
116120
| `MONLOADER_DOWNLOADER_MAX_ITEMS_PER_JOB` | `downloader.max_items_per_job` | int |
117121
| `MONLOADER_DOWNLOADER_DEFAULT_FOLDER` | `downloader.default_folder` | string |
122+
| `MONLOADER_DOWNLOADER_SUCCESS_RETENTION_DAYS` | `downloader.success_retention_days` | int |
118123
| `MONLOADER_DOWNLOADER_HISTORY_RETENTION_DAYS` | `downloader.history_retention_days` | int |
119124
| `MONLOADER_GALLERYDL_BINARY_PATH` | `gallerydl.binary_path` | string |
120125
| `MONLOADER_GALLERYDL_CONFIG_PATH` | `gallerydl.config_path` | string |
@@ -142,6 +147,14 @@ key:
142147
|---|---|
143148
| `TZ` | Timezone name (default `UTC`) for displayed timestamps. Any IANA name works. |
144149

150+
## Updating gallery-dl
151+
152+
The **advanced** section of the Settings page installs any gallery-dl release
153+
without waiting for a monloader update: the install lands in
154+
`/config/gallery-dl/` on the config volume, so it survives container
155+
and image updates, and one click reverts to the version bundled in the
156+
image.
157+
145158
## Raw gallery-dl passthrough
146159

147160
The **advanced** section of the Settings page has a raw gallery-dl config

content/addons/monloader/guides/downloading/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ The queue survives a restart: jobs that were still waiting resume, and a
7979
job that was mid-download when the app stopped comes back marked
8080
**interrupted**.
8181

82-
Finished rows also go on their own after a week. Change the window in
83-
**Settings -> downloads -> clear history after (days)**, or set it to 0
84-
to keep rows until the queue's max limit of 100 pushes them out.
82+
Finished rows get automatically removed after the delay windows set in **Settings -> downloads**. You can set different windows for successful downloads and failed ones. Set
83+
either to 0 to turn it off; in any case, rows still get removed once the queue's max limit of 100 pushes them out.
8584

8685
## Pause and resume
8786

content/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ versions that set `use_cuda = true` are read as `cuda` automatically.
284284

285285
On Docker, the default image is CPU-only: for CUDA, switch to the
286286
`-cuda` image tag and pass the GPU into the container the usual way
287-
(the compose file has a commented example).
287+
(the compose file has a commented example). That tag is amd64 only.
288288

289289
Worker count is set from **Settings -> Auto-Tagger** or
290290
`tagger.parallel` in TOML (default 4). On GPU, raise it if CPU-side

0 commit comments

Comments
 (0)