We broke Capuchin

While testing our Capuchin application we ran into some trouble with the DataRequest class. It turned out that after an X amount of calls and Y amount of data sent by the DataRequest class it would just fall over.

We were doing a DataRequest every 5 seconds to update the Flash UI and after around 80 to 100 calls it would just freeze. Now I don’t say this is the right approach for a situation like this, however, I don’t think Capuchin should just fail and do nothing either.

We solved the issue by switching to an event driven model and that seems to work very well at the moment.