[tracker] libtracker-db: Decrease SQLite busy timeout from 10000s to 100s



commit 870510dc97a6a9fd75b84304dc009c4bd59527ac
Author: Jürg Billeter <j bitron ch>
Date:   Fri May 22 12:04:17 2009 +0200

    libtracker-db: Decrease SQLite busy timeout from 10000s to 100s
---
 src/libtracker-db/tracker-db-interface-sqlite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 6fecbcd..b2c658a 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -124,7 +124,7 @@ tracker_db_interface_sqlite_constructor (GType			type,
 	}
 
 	sqlite3_extended_result_codes (priv->db, 0);
-	sqlite3_busy_timeout (priv->db, 10000000);
+	sqlite3_busy_timeout (priv->db, 100000);
 
 	sqlite3_enable_load_extension (priv->db, 1);
 	sqlite3_load_extension (priv->db, PKGLIBDIR "/tracker-fts.so", NULL, &err_msg);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]