Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
42aacd6f
Commit
42aacd6f
authored
Nov 08, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BerkeleyConfig: Added `frequency', `packtime', and `classicpack'
attributes for controlling autopack behavior.
parent
9efc9849
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
lib/python/BDBStorage/BerkeleyBase.py
lib/python/BDBStorage/BerkeleyBase.py
+19
-1
No files found.
lib/python/BDBStorage/BerkeleyBase.py
View file @
42aacd6f
...
...
@@ -32,7 +32,7 @@ from ZODB.referencesf import referencesf
GBYTES
=
1024
*
1024
*
1000
__version__
=
'$Revision: 1.2
0
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.2
1
$'
.
split
()[
-
2
:][
0
]
...
...
@@ -80,12 +80,30 @@ class BerkeleyConfig:
These attributes control cache size settings:
- cachesize should be the size of the cache in bytes.
These attributes control the autopacking thread:
- frequency is the time in seconds after which an autopack phase will be
performed. E.g. if frequency is 3600, an autopack will be done once per
hour. Set frequency to 0 to disable autopacking (the default).
- packtime is the time in seconds marking the moment in the past at which
to autopack to. E.g. if packtime is 14400, autopack will pack to 4
hours in the past.
- classicpack is an integer indicating how often an autopack phase should
do a full classic pack. E.g. if classicpack is 24 and frequence is
3600, a classic pack will be performed once per day. Set to zero to
never automatically do classic packs.
"""
interval
=
100
kbyte
=
0
min
=
0
logdir
=
None
cachesize
=
128
*
1024
*
1024
frequency
=
0
packtime
=
4
*
60
*
60
classicpack
=
24
...
...
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