Skip to content
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

2.0.2 #8

Merged
merged 1 commit into from
Jul 26, 2024
Merged

2.0.2 #8

merged 1 commit into from
Jul 26, 2024

Conversation

2018-11-27
Copy link
Member

  1. Correct a consecutive judgment error in the code.
  2. Refactor the internal method Time2Second to make it more concise and efficient.
  3. Use time.monotonic() to replace time.time() for cache expiration checks.
  4. Adjust the formatting and annotations of other minor code sections.

  1. 修正代码中的一个连续判断错误。
  2. 重构内部方法 Time2Second 使之更简洁和高效。
  3. 使用 time.monotonic() 替换 time.time() 进行缓存过期检查。
  4. 调整其它少量代码格式和注解。

1.Correct a consecutive judgment error in the code.
2.Refactor the internal method `Time2Second` to make it more concise and efficient.
3.Use `time.monotonic()` to replace `time.time()` for cache expiration checks.
4.Adjust the formatting and annotations of other minor code sections.

1.修正代码中的一个连续判断错误。
2.重构内部方法 `Time2Second` 使之更简洁和高效。
3.使用 `time.monotonic()` 替换 `time.time()` 进行缓存过期检查。
4.调整其它少量代码格式和注解。
@2018-11-27 2018-11-27 self-assigned this Jul 26, 2024
@2018-11-27 2018-11-27 merged commit f072cf2 into gqylpy:master Jul 26, 2024
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.

1 participant