]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/OverIdx.pm
index+xcpdb: rename `--no-sync' to `--no-fsync'
[public-inbox.git] / lib / PublicInbox / OverIdx.pm
index c8f61e012e0977dc98b794357ee033b801dc8e0a..4543bfa1d9acba6e06c4dc3bbe3a91c309123404 100644 (file)
@@ -21,7 +21,7 @@ use Carp qw(croak);
 
 sub dbh_new {
        my ($self) = @_;
-       my $dbh = $self->SUPER::dbh_new($self->{-no_sync} ? 2 : 1);
+       my $dbh = $self->SUPER::dbh_new($self->{-no_fsync} ? 2 : 1);
 
        # TRUNCATE reduces I/O compared to the default (DELETE)
        # We do not use WAL since we're optimized for read-only ops,