Since the interval in a eventmachine setup is very high my machine (linux) produces an annoying high freq. sound. Also it uses one core at 80% cpu (without doing anything). I manually tried this:
@process_input_interval = 0.01
And it removed the sound and made the process use 2% cpu, when nothing happens.
Im not sure why the value is set the way it is currently. So maybe you can tell.
Im using your library with the nonblocking turned on and eventmachine. I faced a problem with this part of the process input interval:
Since the interval in a eventmachine setup is very high my machine (linux) produces an annoying high freq. sound. Also it uses one core at 80% cpu (without doing anything). I manually tried this:
And it removed the sound and made the process use 2% cpu, when nothing happens.
Im not sure why the value is set the way it is currently. So maybe you can tell.
Thx & Kind regards