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
f640adb0
Commit
f640adb0
authored
Jun 20, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mo debug logging
parent
0783f6cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+1
-0
src/ZEO/asyncio/server.py
src/ZEO/asyncio/server.py
+1
-0
No files found.
src/ZEO/StorageServer.py
View file @
f640adb0
...
@@ -1080,6 +1080,7 @@ class StorageServer:
...
@@ -1080,6 +1080,7 @@ class StorageServer:
for
sid
,
zeo_storages
in
self
.
zeo_storages_by_storage_id
.
items
():
for
sid
,
zeo_storages
in
self
.
zeo_storages_by_storage_id
.
items
():
for
zs
in
zeo_storages
[:]:
for
zs
in
zeo_storages
[:]:
try
:
try
:
logger
.
debug
(
"Closing %s"
,
zs
.
connection
)
zs
.
connection
.
call_soon_threadsafe
(
zs
.
connection
.
call_soon_threadsafe
(
zs
.
connection
.
close
)
zs
.
connection
.
close
)
except
Exception
:
except
Exception
:
...
...
src/ZEO/asyncio/server.py
View file @
f640adb0
...
@@ -34,6 +34,7 @@ class ServerProtocol(base.Protocol):
...
@@ -34,6 +34,7 @@ class ServerProtocol(base.Protocol):
closed
=
False
closed
=
False
def
close
(
self
):
def
close
(
self
):
logger
.
debug
(
"Closing server protocol"
)
if
not
self
.
closed
:
if
not
self
.
closed
:
self
.
closed
=
True
self
.
closed
=
True
if
self
.
transport
is
not
None
:
if
self
.
transport
is
not
None
:
...
...
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