Skip to content

[WIP]implement accurate timeout function #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

halfcrazy
Copy link
Member

No description provided.

@halfcrazy halfcrazy changed the title implement accurate timeout function [WIP]implement accurate timeout function Jul 2, 2015
return async_result.get(seconds)
# the time cost before start fn
cost_time = time.time() - g.time
return async_result.get(seconds - cost_time)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里好精确... 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dongweiming 暂时遇到了上下文的问题,解决中

@dongweiming
Copy link
Contributor

@halfcrazy 这个怎么样了

@halfcrazy
Copy link
Member Author

@dongweiming 考试周了,这些天在复习考试... 还是Wip

@dongweiming
Copy link
Contributor

祝幸福~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants