Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

关于skynet.sleep时间不准确的问题 #1875

Closed
uiuizz opened this issue Feb 21, 2024 · 1 comment
Closed

关于skynet.sleep时间不准确的问题 #1875

uiuizz opened this issue Feb 21, 2024 · 1 comment

Comments

@uiuizz
Copy link

uiuizz commented Feb 21, 2024

skynet.sleep(20),这样200ms会执行函数。但如果当定时器向服务队列添加消息时,消息队列里面已经有很多了。那么添加的定时消息就会延迟执行,如果想尽量准确200ms执行,有什么好的办法吗

@CoolDesert
Copy link
Contributor

btw, 这个你应该放到 discussions 去讨论。

Repository owner locked and limited conversation to collaborators Feb 21, 2024
@cloudwu cloudwu converted this issue into discussion #1876 Feb 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants