From 7ef2e565f6ca8f8a349b861c1d93674eed1a1bb1 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Fri, 12 Jun 2009 01:20:46 -0400 Subject: [PATCH] Make the cache expire 1 day 1 hour was ridicoulous and adds unnecessary stress on the servers --- champlain/champlain-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/champlain/champlain-cache.c b/champlain/champlain-cache.c index 7adc7b8..5d5a4a9 100644 --- a/champlain/champlain-cache.c +++ b/champlain/champlain-cache.c @@ -463,7 +463,7 @@ champlain_cache_tile_is_expired (ChamplainCache *self, gboolean validate_cache = FALSE; g_get_current_time (now); - g_time_val_add (now, (-60ul * 60ul * 1000ul * 1000ul)); // Cache expires 1 hour + g_time_val_add (now, (-24ul * 60ul * 60ul * 1000ul * 1000ul)); // Cache expires 1 day validate_cache = modified_time->tv_sec < now->tv_sec; g_free (now); -- 2.39.5