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
b72102d0
Commit
b72102d0
authored
Jan 20, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a command line option to set transaction_timeout.
parent
5cd72ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/ZEO/runzeo.py
src/ZEO/runzeo.py
+3
-1
No files found.
src/ZEO/runzeo.py
View file @
b72102d0
...
@@ -21,6 +21,7 @@ Options:
...
@@ -21,6 +21,7 @@ Options:
-a/--address ADDRESS -- server address of the form PORT, HOST:PORT, or PATH
-a/--address ADDRESS -- server address of the form PORT, HOST:PORT, or PATH
(a PATH must contain at least one "/")
(a PATH must contain at least one "/")
-f/--filename FILENAME -- filename for FileStorage
-f/--filename FILENAME -- filename for FileStorage
-t/--timeout TIMEOUT -- transaction timeout in secondes (default no timeout)
-h/--help -- print this usage message and exit
-h/--help -- print this usage message and exit
-m/--monitor ADDRESS -- address of monitor server ([HOST:]PORT or PATH)
-m/--monitor ADDRESS -- address of monitor server ([HOST:]PORT or PATH)
...
@@ -84,7 +85,8 @@ class ZEOOptionsMixin:
...
@@ -84,7 +85,8 @@ class ZEOOptionsMixin:
self
.
add
(
"read_only"
,
"zeo.read_only"
,
default
=
0
)
self
.
add
(
"read_only"
,
"zeo.read_only"
,
default
=
0
)
self
.
add
(
"invalidation_queue_size"
,
"zeo.invalidation_queue_size"
,
self
.
add
(
"invalidation_queue_size"
,
"zeo.invalidation_queue_size"
,
default
=
100
)
default
=
100
)
self
.
add
(
"transaction_timeout"
,
"zeo.transaction_timeout"
)
self
.
add
(
"transaction_timeout"
,
"zeo.transaction_timeout"
,
"t:"
,
"timeout="
,
float
)
self
.
add
(
"monitor_address"
,
None
,
"m:"
,
"monitor="
,
self
.
add
(
"monitor_address"
,
None
,
"m:"
,
"monitor="
,
self
.
handle_monitor_address
)
self
.
handle_monitor_address
)
...
...
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