Skip to content

Commit 92f76f0

Browse files
committed
Sqlite3cache: default to using a db per bin
1 parent 008306b commit 92f76f0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/osgEarthDrivers/cache_sqlite3/SQLite3Cache

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,17 @@ namespace osgEarth { namespace Drivers
2828
virtual ~SQLite3CacheOptions() { }
2929

3030
public:
31+
//! Location of the cache files
3132
OE_OPTION(std::string, rootPath);
33+
34+
//! Number of threads to devote to background cache writing
3235
OE_OPTION(unsigned, threads, 2u);
36+
37+
//! Tiemout (milliseconds) when trying to local a db
3338
OE_OPTION(unsigned, busyTimeout, 5000u);
34-
OE_OPTION(bool, separateBins, false);
39+
40+
//! Whether to use a separate .db for each CacheBin
41+
OE_OPTION(bool, separateBins, true);
3542

3643
public:
3744
virtual Config getConfig() const {

0 commit comments

Comments
 (0)