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
88c59631
Commit
88c59631
authored
Jul 07, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to call set_event_loop, as we carry loops around
parent
b4ecd30b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/ZEO/asyncio/client.py
src/ZEO/asyncio/client.py
+0
-1
src/ZEO/asyncio/server.py
src/ZEO/asyncio/server.py
+1
-1
No files found.
src/ZEO/asyncio/client.py
View file @
88c59631
...
...
@@ -723,7 +723,6 @@ class ClientThread(ClientRunner):
loop
=
None
try
:
loop
=
asyncio
.
new_event_loop
()
asyncio
.
set_event_loop
(
loop
)
self
.
setup_delegation
(
loop
)
self
.
started
.
set
()
loop
.
run_forever
()
...
...
src/ZEO/asyncio/server.py
View file @
88c59631
...
...
@@ -216,7 +216,7 @@ class Acceptor(object):
self
.
addr
=
addr
self
.
ssl_context
=
ssl
self
.
event_loop
=
loop
=
asyncio
.
new_event_loop
()
asyncio
.
set_event_loop
(
loop
)
if
isinstance
(
addr
,
tuple
):
cr
=
loop
.
create_server
(
self
.
factory
,
addr
[
0
],
addr
[
1
],
reuse_address
=
True
,
ssl
=
ssl
)
...
...
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