about summary refs log tree commit homepage
path: root/t/v2-add-remove-add.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-15 12:58:26 +0100
committerEric Wong <e@80x24.org>2021-03-15 16:54:31 -0400
commit1b19e689f0b76290a437dd614da8685574e72b73 (patch)
treefb02f7d26d873d1b429b149446f036fa02202fe2 /t/v2-add-remove-add.t
parent28840e0ea63f8d649614e196ce286688be431dfb (diff)
downloadpublic-inbox-1b19e689f0b76290a437dd614da8685574e72b73.tar.gz
Using create_inbox doesn't seem worth the trouble, here, at the
moment, but disabling fsync(2) gives a noticeable speedup on
my system even with an SSD.
Diffstat (limited to 't/v2-add-remove-add.t')
-rw-r--r--t/v2-add-remove-add.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/v2-add-remove-add.t b/t/v2-add-remove-add.t
index b325e521..579cdcb6 100644
--- a/t/v2-add-remove-add.t
+++ b/t/v2-add-remove-add.t
@@ -13,6 +13,7 @@ my $ibx = {
         inboxdir => "$inboxdir/v2",
         name => 'test-v2writable',
         version => 2,
+        -no_fsync => 1,
         -primary_address => 'test@example.com',
 };
 $ibx = PublicInbox::Inbox->new($ibx);