Skip to content

Commit 6cfe602

Browse files
miaulalalabackportbot[bot]
authored andcommitted
docs(admin): note that av_rescan_days=0 does not disable rescanning
Values below 1 are silently replaced with the 28-day default in BackgroundScanner::getOutdatedFiles(), so setting 0 to switch off the periodic rescan has no effect. Points at av_background_scan instead. AI-Assisted-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Anna Larch <anna@nextcloud.com>
1 parent c27170f commit 6cfe602

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

admin_manual/configuration_server/antivirus_configuration.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,8 @@ Disabling background scan task
244244
You can disable background scan with occ to only scan files during upload::
245245

246246
sudo -E -u www-data php occ config:app:set files_antivirus av_background_scan --value="off"
247+
248+
.. note:: Setting ``av_rescan_days`` to ``0`` does **not** disable the periodic rescan of
249+
already-scanned files. Any value below ``1`` is silently replaced with the default of 28 days,
250+
so the rescan continues on its normal schedule. Use ``av_background_scan`` as shown above to
251+
stop background scanning altogether.

0 commit comments

Comments
 (0)