nanotube/supybot-bitcoin-marketmonitor — pull request #22 by Mqrius (2011-10-30 01:47:26+00:00)
Title: Collapse transactions, loop sleep

I've made some changes to prevent the bot from lagging behind when there's lots of updates, by collapsing updates (grouped by market-currency pair) above a certain threshold. neofutur is running this in #bitcoin-RT on freenode at the moment, if you want to see it in action.

- Add option to collapse transactions when there are many of them
within one update. Prevents backing up of message queue, which
would make information outdated. Threshold editable as config
parameter.

- Add small delay of 10msec every loop iteration, to prevent 100%
CPU usage.

- Some extra documentation/error specification