Replies: 3 comments 5 replies
-
btw, 这个你应该放到 discussions 去讨论。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
你可以把想尽量准时执行的任务分给其他不怎么忙的服务。 |
Beta Was this translation helpful? Give feedback.
4 replies
-
尽可能把服务拆分,提高并行处理效率。
uiuizz ***@***.***>于2024年2月21日 周三21:38写道:
… 如果队列的消息处理的足够快,超时一点点也可以接受
—
Reply to this email directly, view it on GitHub
<#1876 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALQXYCBBAVLGRVLWXST4ATYUX2ERAVCNFSM6AAAAABDTCF4UWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKNBTG4YDK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
skynet.sleep(20),这样200ms会执行函数。但如果当定时器向服务队列添加消息时,消息队列里面已经有很多了。那么添加的定时消息就会延迟执行,如果想尽量准确200ms执行,有什么好的办法吗
Beta Was this translation helpful? Give feedback.
All reactions