Allow asynchronous cookie database
Arguably cookies are like a cache, so we prefer prefer performance over data integrity.
This commit is contained in:
parent
1e7ee7db5c
commit
a83cea4964
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ katze_http_cookies_sqlite_open_db (KatzeHttpCookiesSqlite* http_cookies)
|
||||||
}
|
}
|
||||||
|
|
||||||
sqlite3_exec (http_cookies->db,
|
sqlite3_exec (http_cookies->db,
|
||||||
/* "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY" */
|
/* Arguably cookies are like a cache, so performance over integrity */
|
||||||
|
"PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY;"
|
||||||
"PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
|
"PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
|
||||||
NULL, NULL, &error);
|
NULL, NULL, &error);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue