Skip to content

Commit a545e06

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 b63bf14 commit a545e06

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
@@ -231,3 +231,8 @@ Disabling background scan task
231231
You can disable background scan with occ to only scan files during upload::
232232

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

0 commit comments

Comments
 (0)