MariusRumpf / node-lifx

Node.js implementation of the LIFX LAN protocol :bulb:
MIT License
144 stars 28 forks source link

Start sending loop if adding message to queue #19

Closed MariusRumpf closed 9 years ago

MariusRumpf commented 9 years ago

We check the message queue every 50ms with an interval. Performance can be improved when starting this queue interval after adding a message and stop if after all messages have been send.

Thanks @edhemphill

edhemphill commented 9 years ago

no worries... glad to help.