summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2013-02-16 08:04:52 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2013-02-16 08:04:52 +1100
commitbc27250c15cfdd31d9cd01430a592a437935496e (patch)
tree860ffdfe1a09769fd1f37f0014f4f4a9b0b88091 /dist/api_data.py
parente3bb7e72f918bd6655cd7137d65816b2afdf06f9 (diff)
downloadmongo-bc27250c15cfdd31d9cd01430a592a437935496e.tar.gz
Fix shared cache so that reserve size is always initialized properly.
Also change how we detect if shared cache is used. It used to rely on a name, now it will be used if the shared_cache configuration option was included by the user.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index ada6f8a9b32..206a09230c9 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -262,8 +262,8 @@ connection_runtime_config = [
Config('reserve', '0', r'''
amount of cache this database is guaranteed to have available
from the shared cache. This setting is per database. Defaults
- to the chunk size'''),
- Config('name', '', r'''
+ to the chunk size''', type='int'),
+ Config('name', 'pool', r'''
name of a cache that is shared between databases'''),
Config('size', '500MB', r'''
maximum memory to allocate for the shared cache. Setting this