Removed unnecessary comment, no code change

This commit is contained in:
pajkastare 2024-01-24 13:51:24 +01:00
parent a8c15c977a
commit 01053e6cce
1 changed files with 0 additions and 1 deletions

1
sanoid
View File

@ -42,7 +42,6 @@ my $cacheTTL = 900; # 15 minutes
# (ignore "--verbose", "--configdir" etc)
if (($args{'monitor-snapshots'} || $args{'monitor-health'} || $args{'monitor-capacity'}) && ! ($args{'cron'} || $args{'force-update'} || $args{'take-snapshots'} || $args{'prune-snapshots'} || $args{'force-prune'})) {
# The command combination above must not assert true for any command that takes or prunes snapshots
# As long as no snapshots are taken, no conflict with the $forcecacheupdate variable below should occur
$cacheTTL = 18000; # 5 hours
if ($args{'debug'}) { print "DEBUG: command combo means that the cache file (provided it exists) will be allowed to be older than default.\n"; }
}