You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
worker unable to receive job when load function return value bigger than 1 #884
Load should be a float between 0-1, it represents percentage load. it doesn't make sense for workers that are more than 100% utilized to receive more jobs.
Activity
davidzhao commentedon Oct 10, 2024
Load should be a float between 0-1, it represents percentage load. it doesn't make sense for workers that are more than 100% utilized to receive more jobs.
Max-Thuc commentedon Oct 11, 2024
Hi @davidzhao , thank you for your answer. Should we make it clear in the code by throw some exception if the load threshold is declared bigger than 1
Max-Thuc commentedon Oct 11, 2024
Hi @davidzhao , I have one more thing to ask. Do you have a channel where you announce which code version livekit cloud is using?
davidzhao commentedon Oct 11, 2024
I think printing a warning would make sense.. if a developer computes an incorrect value, it seems like their worker should not crash
dmthuc commentedon Oct 12, 2024
I see, I've created a PR for this idea here https://github.com/livekit/agents/pull/902/files