[Bps-public-commit] Prophet branch, master, updated. 0.743-13-geb27c05

Jesse Vincent jesse at bestpractical.com
Mon Jul 12 13:37:31 EDT 2010


The branch, master has been updated
       via  eb27c05e52385e059e3a8a679dacea4057c20873 (commit)
      from  29c15f9c6a7e0c6cd76a48a482edd3e85af5b6d5 (commit)

Summary of changes:
 lib/Prophet/Replica/sqlite.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit eb27c05e52385e059e3a8a679dacea4057c20873
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Jul 12 19:38:37 2010 +0200

    Killing defaulting-to-fsync is a huge perf boost, even if it makes me
    cry a bit.

diff --git a/lib/Prophet/Replica/sqlite.pm b/lib/Prophet/Replica/sqlite.pm
index 146c3e3..256fc3f 100644
--- a/lib/Prophet/Replica/sqlite.pm
+++ b/lib/Prophet/Replica/sqlite.pm
@@ -29,6 +29,7 @@ has dbh => (
                 undef, undef,
                 { RaiseError => 1, AutoCommit => 1 },
             );
+            $dbh->do("PRAGMA default_synchronous = OFF");
         };
         if ($@) {
             die "Unable to open the database file '".$self->db_file

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list