summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-02-09 14:15:09 +0000
committerRichard Hughes <richard@hughsie.com>2009-02-09 14:15:09 +0000
commit7a5fb2301f3ec2c3e3d85601410811d619925e1d (patch)
tree249d27a6b7774f2f6c553499cc8971314a3d51d0 /src
parent9b98b6c64228fda1a74d53f9595f13cefd163e35 (diff)
bugfix: don't sync to disk every 5 seconds, do it every 10 minutes
Diffstat (limited to 'src')
-rw-r--r--src/dkp-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkp-history.c b/src/dkp-history.c
index c18f29e..6ccca01 100644
--- a/src/dkp-history.c
+++ b/src/dkp-history.c
@@ -38,7 +38,7 @@ static void dkp_history_finalize (GObject *object);
#define DKP_HISTORY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DKP_TYPE_HISTORY, DkpHistoryPrivate))
-#define DKP_HISTORY_SAVE_INTERVAL 5 /* seconds */
+#define DKP_HISTORY_SAVE_INTERVAL 10*60 /* seconds */
struct DkpHistoryPrivate
{