Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
6a3f198d
Commit
6a3f198d
authored
Apr 25, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We should no longer need the timer hack.
parent
f2f08825
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
benchmarks/.gitignore
benchmarks/.gitignore
+1
-0
src/gevent/libuv/loop.py
src/gevent/libuv/loop.py
+0
-7
No files found.
benchmarks/.gitignore
View file @
6a3f198d
data/*.json
data/*/*.json
src/gevent/libuv/loop.py
View file @
6a3f198d
...
...
@@ -545,10 +545,3 @@ class loop(AbstractLoop):
io_watcher
.
_no_more_watchers
=
lambda
:
delitem
(
io_watchers
,
fd
)
return
io_watcher
.
multiplex
(
events
)
def
timer
(
self
,
after
,
repeat
=
0.0
,
ref
=
True
,
priority
=
None
):
if
after
<=
0
and
repeat
<=
0
:
# Make sure we can spin the loop. See timer.
# XXX: Note that this doesn't have a `again` method.
return
self
.
_watchers
.
OneShotCheck
(
self
,
ref
,
priority
)
return
super
(
loop
,
self
).
timer
(
after
,
repeat
,
ref
,
priority
)
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