Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
We do not need synchronuous mode while updating (this improves speed a bit more)
Baptiste Daroussin committed 10 years ago
commit 496ae97175f1abc77e0b74ec37fa4414396c855d
parent 5fb2434
1 file changed +1 -0
modified libpkg/repo/binary/update.c
@@ -511,6 +511,7 @@ pkg_repo_binary_update_proceed(const char *name, struct pkg_repo *repo,
	sql_exec(sqlite, "PRAGMA page_size = %d;", getpagesize());
	sql_exec(sqlite, "PRAGMA foreign_keys = OFF;");
	sql_exec(sqlite, "PRAGMA locking_mode = EXCLUSIVE;");
+
	sql_exec(sqlite, "PRAGMA synchronous = OFF;");

	rc = pkgdb_transaction_begin_sqlite(sqlite, "REPO");
	if (rc != EPKG_OK)