From: Pierre-Luc Beaudoin Date: Fri, 12 Jun 2009 05:20:46 +0000 (-0400) Subject: Make the cache expire 1 day X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef2e565f6ca8f8a349b861c1d93674eed1a1bb1;p=libchamplain Make the cache expire 1 day 1 hour was ridicoulous and adds unnecessary stress on the servers --- 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);