Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
d67732a7
Commit
d67732a7
authored
Sep 07, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up and added missing key documentation
parent
8db9c2bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
8 deletions
+31
-8
src/ZODB/component.xml
src/ZODB/component.xml
+31
-8
No files found.
src/ZODB/component.xml
View file @
d67732a7
...
@@ -69,7 +69,13 @@
...
@@ -69,7 +69,13 @@
<sectiontype
name=
"mappingstorage"
datatype=
".MappingStorage"
<sectiontype
name=
"mappingstorage"
datatype=
".MappingStorage"
implements=
"ZODB.storage"
>
implements=
"ZODB.storage"
>
<key
name=
"name"
default=
"Mapping Storage"
/>
<key
name=
"name"
default=
"Mapping Storage"
>
<description>
The storage name, used by the
:meth:`~ZODB.interfaces.IStorage.getName` and
:meth:`~ZODB.interfaces.IStorage.sortKey` methods.
</description>
</key>
</sectiontype>
</sectiontype>
<!-- The BDB storages probably need to be revised somewhat still.
<!-- The BDB storages probably need to be revised somewhat still.
...
@@ -225,7 +231,13 @@
...
@@ -225,7 +231,13 @@
<sectiontype
name=
"demostorage"
datatype=
".DemoStorage"
<sectiontype
name=
"demostorage"
datatype=
".DemoStorage"
implements=
"ZODB.storage"
>
implements=
"ZODB.storage"
>
<key
name=
"name"
/>
<key
name=
"name"
default=
"Mapping Storage"
>
<description>
The storage name, used by the
:meth:`~ZODB.interfaces.IStorage.getName` and
:meth:`~ZODB.interfaces.IStorage.sortKey` methods.
</description>
</key>
<multisection
type=
"ZODB.storage"
name=
"*"
attribute=
"factories"
/>
<multisection
type=
"ZODB.storage"
name=
"*"
attribute=
"factories"
/>
</sectiontype>
</sectiontype>
...
@@ -233,11 +245,12 @@
...
@@ -233,11 +245,12 @@
<sectiontype
name=
"zodb"
datatype=
".ZODBDatabase"
<sectiontype
name=
"zodb"
datatype=
".ZODBDatabase"
implements=
"ZODB.database"
>
implements=
"ZODB.database"
>
<section
type=
"ZODB.storage"
name=
"*"
attribute=
"storage"
/>
<section
type=
"ZODB.storage"
name=
"*"
attribute=
"storage"
/>
<key
name=
"cache-size"
datatype=
"integer"
default=
"5000"
/
>
<key
name=
"cache-size"
datatype=
"integer"
default=
"5000"
>
<description>
<description>
Target size, in number of objects, of each connection's
Target size, in number of objects, of each connection's
object cache.
object cache.
</description>
</description>
</key>
<key
name=
"cache-size-bytes"
datatype=
"byte-size"
default=
"0"
>
<key
name=
"cache-size-bytes"
datatype=
"byte-size"
default=
"0"
>
<description>
<description>
Target size, in total estimated size for objects, of each connection's
Target size, in total estimated size for objects, of each connection's
...
@@ -245,8 +258,14 @@
...
@@ -245,8 +258,14 @@
"0" means no limit.
"0" means no limit.
</description>
</description>
</key>
</key>
<key
name=
"large-record-size"
datatype=
"byte-size"
/>
<key
name=
"large-record-size"
datatype=
"byte-size"
default=
"16MB"
>
<key
name=
"pool-size"
datatype=
"integer"
default=
"7"
/>
<description>
When object records are saved
that are larger than this, a warning is issued,
suggesting that blobs should be used instead.
</description>
</key>
<key
name=
"pool-size"
datatype=
"integer"
default=
"7"
>
<description>
<description>
The expected maximum number of simultaneously open connections.
The expected maximum number of simultaneously open connections.
There is no hard limit (as many connections as are requested
There is no hard limit (as many connections as are requested
...
@@ -255,21 +274,25 @@
...
@@ -255,21 +274,25 @@
and exceeding twice pool-size connections causes a critical
and exceeding twice pool-size connections causes a critical
message to be logged.
message to be logged.
</description>
</description>
<key
name=
"pool-timeout"
datatype=
"time-interval"
/>
</key>
<key
name=
"pool-timeout"
datatype=
"time-interval"
>
<description>
<description>
The minimum interval that an unused (non-historical)
The minimum interval that an unused (non-historical)
connection should be kept.
connection should be kept.
</description>
</description>
<key
name=
"historical-pool-size"
datatype=
"integer"
default=
"3"
/>
</key>
<key
name=
"historical-pool-size"
datatype=
"integer"
default=
"3"
>
<description>
<description>
The expected maximum total number of historical connections
The expected maximum total number of historical connections
simultaneously open.
simultaneously open.
</description>
</description>
<key
name=
"historical-cache-size"
datatype=
"integer"
default=
"1000"
/>
</key>
<key
name=
"historical-cache-size"
datatype=
"integer"
default=
"1000"
>
<description>
<description>
Target size, in number of objects, of each historical connection's
Target size, in number of objects, of each historical connection's
object cache.
object cache.
</description>
</description>
</key>
<key
name=
"historical-cache-size-bytes"
datatype=
"byte-size"
default=
"0"
>
<key
name=
"historical-cache-size-bytes"
datatype=
"byte-size"
default=
"0"
>
<description>
<description>
Target size, in total estimated size of objects, of each historical connection's
Target size, in total estimated size of objects, of each historical connection's
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment