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
af3a121e
Commit
af3a121e
authored
Sep 12, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instead of asyncore.loop(), use our own loop that logs a message
each time round the loop (with a 30 sec. timeout).
parent
b3a1c826
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/ZEO/tests/winserver.py
src/ZEO/tests/winserver.py
+4
-1
No files found.
src/ZEO/tests/winserver.py
View file @
af3a121e
...
@@ -57,7 +57,10 @@ def main(port, storage_name, args):
...
@@ -57,7 +57,10 @@ def main(port, storage_name, args):
test_port
=
zeo_port
+
1
test_port
=
zeo_port
+
1
t
=
ZEOTestServer
((
''
,
test_port
),
storage
)
t
=
ZEOTestServer
((
''
,
test_port
),
storage
)
serv
=
ZEO
.
StorageServer
.
StorageServer
((
''
,
zeo_port
),
{
'1'
:
storage
})
serv
=
ZEO
.
StorageServer
.
StorageServer
((
''
,
zeo_port
),
{
'1'
:
storage
})
asyncore
.
loop
()
import
zLOG
while
asyncore
.
socket_map
:
zLOG
.
LOG
(
"winserver"
,
zLOG
.
BLATHER
,
"map: %r"
%
asyncore
.
socket_map
)
asyncore
.
poll
(
30.0
)
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
import
sys
import
sys
...
...
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