Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
f15668b6
Commit
f15668b6
authored
Jun 28, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make running server in thread vs process optional
parent
f6d06ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/__init__.py
src/ZEO/__init__.py
+2
-2
No files found.
src/ZEO/__init__.py
View file @
f15668b6
...
@@ -43,7 +43,7 @@ def connection(*args, **kw):
...
@@ -43,7 +43,7 @@ def connection(*args, **kw):
ra
ra
def
server
(
path
=
None
,
blob_dir
=
None
,
storage_conf
=
None
,
zeo_conf
=
None
,
def
server
(
path
=
None
,
blob_dir
=
None
,
storage_conf
=
None
,
zeo_conf
=
None
,
port
=
0
,
**
kw
):
port
=
0
,
threaded
=
True
,
**
kw
):
"""Convenience function to start a server for interactive exploration
"""Convenience function to start a server for interactive exploration
This fuction starts a ZEO server, given a storage configuration or
This fuction starts a ZEO server, given a storage configuration or
...
@@ -87,4 +87,4 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
...
@@ -87,4 +87,4 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
return
ZEO
.
tests
.
forker
.
start_zeo_server
(
return
ZEO
.
tests
.
forker
.
start_zeo_server
(
storage_conf
,
zeo_conf
,
port
,
keep
=
True
,
path
=
path
,
storage_conf
,
zeo_conf
,
port
,
keep
=
True
,
path
=
path
,
blob_dir
=
blob_dir
,
suicide
=
False
,
threaded
=
True
,
**
kw
)
blob_dir
=
blob_dir
,
suicide
=
False
,
threaded
=
threaded
,
**
kw
)
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