]> err.no Git - mapper/commitdiff
Don't call the sqlite progress handler cb too often
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 29 Oct 2007 14:44:20 +0000 (16:44 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 29 Oct 2007 14:44:20 +0000 (16:44 +0200)
src/osm-db.c

index 6fdf2e7f8a44e10e04ffb5efef2ac29251738ba5..fcc8d742bea01cfc0e17b6da295cbb21c7d611c2 100644 (file)
@@ -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)