From: Kaj-Michael Lang Date: Mon, 29 Oct 2007 14:44:20 +0000 (+0200) Subject: Don't call the sqlite progress handler cb too often X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9ab35d531c8326c283ae739e0dcef3dc1f34ee;p=mapper Don't call the sqlite progress handler cb too often --- diff --git a/src/osm-db.c b/src/osm-db.c index 6fdf2e7..fcc8d74 100644 --- a/src/osm-db.c +++ b/src/osm-db.c @@ -38,7 +38,7 @@ /* #define DEBUG_OSM_TIME */ #define OSM_PLACE_CACHE_MAX_ITEMS (64) -#define OSM_DB_PROGRESS_NUM (10000) +#define OSM_DB_PROGRESS_NUM (20000) /* Node search ranges */ #define OSM_RANGE_START (16384)