Clear caches once -- at the beginning of the commit -- so more writes can be queued behind it.

This commit is contained in:
Young Hahn
2014-09-30 11:54:18 -04:00
parent a375ae1df0
commit e44cd8b3ef

View File

@@ -434,7 +434,6 @@ MBTiles.prototype._commit = function(callback) {
mbtiles.emit('commit');
callback(err);
});
mbtiles._clearCaches();
});
};