zestyping / openpixelcontrol

A simple stream protocol for controlling arrays of RGB lights.
http://openpixelcontrol.org/
353 stars 103 forks source link

Performance and build tweaks for gl_server #17

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello! This patch fixes a few things that had been bugging me about gl_server:

• It didn't build cleanly any more • It's easy to overwhelm it with frames which pile up in the socket buffer • It's spammy on stdout

–micah

zestyping commented 10 years ago

Thanks, Micah! These are all nice improvements; much appreciated! Thanks in particular for the clear comments explaining the short timeouts.