Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
acb8f52c
Commit
acb8f52c
authored
Feb 25, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
01916f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
wcfs/__init__.py
wcfs/__init__.py
+8
-1
No files found.
wcfs/__init__.py
View file @
acb8f52c
...
...
@@ -28,6 +28,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART=no is specified in environment.
Conn represents connection to wcfs server obtained by join.
FileH ... XXX
XXX
$WENDELIN_CORE_WCFS_AUTOSTART
$WENDELIN_CORE_WCFS_OPTIONS
"""
import
os
,
sys
,
hashlib
,
tempfile
,
subprocess
,
time
...
...
@@ -178,8 +181,12 @@ def join(zurl, autostart=_default_autostart(), shared=False):
# start wcfs with telling it to automatically exit when there is no client activity.
# XXX extra opts -> join args -> test + -v=1 if running py.test -v
# XXX ^^^ check log level?
optv_extra
=
os
.
environ
.
get
(
"WENDELIN_CORE_WCFS_OPTIONS"
,
""
).
split
()
return
_start
(
zurl
,
"-autoexit"
,
*
optv_extra
)
#return _start(zurl, "-autoexit", '-d', '-alsologtostderr', '-v=1')
#return _start(zurl, "-autoexit", '-d', '-alsologtostderr', '-v=1')
return
_start
(
zurl
,
"-autoexit"
,
'-alsologtostderr'
)
#
return _start(zurl, "-autoexit", '-alsologtostderr')
# _start starts wcfs server for ZODB @ zurl.
...
...
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