-
Notifications
You must be signed in to change notification settings - Fork 46
[WIP]implement accurate timeout function#51
Open
halfcrazy wants to merge 1 commit intopython-cn:master from
Open
[WIP]implement accurate timeout function #51halfcrazy wants to merge 1 commit intopython-cn:master from
halfcrazy wants to merge 1 commit intopython-cn:master from
Conversation
@halfcrazy
halfcrazy
force-pushed
the
enhance-timeout
branch
from
July 2, 2015 05:29
f55bc7e to
414addc
Compare
@halfcrazy
halfcrazy
changed the title
(削除) implement accurate timeout function (削除ここまで)
(追記) [WIP]implement accurate timeout function (追記ここまで)
Jul 2, 2015
@halfcrazy
halfcrazy
force-pushed
the
enhance-timeout
branch
from
July 2, 2015 07:03
414addc to
368b407
Compare
@halfcrazy
halfcrazy
force-pushed
the
enhance-timeout
branch
from
July 2, 2015 07:08
368b407 to
7f9f89f
Compare
return async_result.get(seconds)
# the time cost before start fn
cost_time = time.time() - g.time
return async_result.get(seconds - cost_time)
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里好精确... 👍
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dongweiming 暂时遇到了上下文的问题,解决中
Contributor
dongweiming
commented
Jul 8, 2015
@halfcrazy 这个怎么样了
Member
Author
halfcrazy
commented
Jul 8, 2015
@dongweiming 考试周了,这些天在复习考试... 还是Wip
Contributor
dongweiming
commented
Jul 8, 2015
祝幸福~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.