mirror of https://github.com/jimsalterjrs/sanoid
Merge pull request #286 from phreaker0/no-sleep
removed sleeping between snapshot taking
This commit is contained in:
commit
1042414911
2
sanoid
2
sanoid
|
|
@ -532,8 +532,6 @@ sub take_snapshots {
|
|||
if (!$args{'readonly'}) {
|
||||
system($zfs, "snapshot", "$snap") == 0
|
||||
or warn "CRITICAL ERROR: $zfs snapshot $snap failed, $?";
|
||||
# make sure we don't end up with multiple snapshots with the same ctime
|
||||
sleep 1;
|
||||
}
|
||||
if ($config{$dataset}{'post_snapshot_script'} and !$args{'readonly'}) {
|
||||
if (!$presnapshotfailure or $config{$dataset}{'force_post_snapshot_script'}) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue