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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
ea603d2d
Commit
ea603d2d
authored
Apr 07, 2001
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Needed to move loop call outside of startup exception handler.
parent
fc99e0d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
trunk/src/ZEO/start.py
trunk/src/ZEO/start.py
+4
-2
No files found.
trunk/src/ZEO/start.py
View file @
ea603d2d
...
...
@@ -86,7 +86,7 @@
"""Start the server storage.
"""
__version__
=
"$Revision: 1.2
2
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.2
3
$"
[
11
:
-
2
]
import
sys
,
os
,
getopt
,
string
...
...
@@ -311,7 +311,6 @@ def main(argv):
except
:
pass
# getpid not supported
else
:
open
(
zeo_pid
,
'w'
).
write
(
"%s %s"
%
(
ppid
,
pid
))
asyncore
.
loop
()
except
:
# Log startup exception and tell zdaemon not to restart us.
info
=
sys
.
exc_info
()
...
...
@@ -327,6 +326,9 @@ def main(argv):
sys
.
exit
(
0
)
asyncore
.
loop
()
def
rotate_logs
():
import
zLOG
if
hasattr
(
zLOG
.
log_write
,
'reinitialize'
):
...
...
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