title: Flask-SocketIO batching up messages in Javascript
body: <p>I've installed Flask-SocketIO async test from</p>
  
  <p><a href="https://github.com/shanealynn/async_flask" rel="nofollow noreferrer">https://github.com/shanealynn/async_flask</a></p>
  
  <p>I had to make some minor edits to get it working (didn't have brackets in print statement etc).   It works <em>except</em> that the numbers are not shown on the screen as they are received - but only displayed after 10-20 are received, when all the missing ones are displayed.  Putting in alerts() shows that the messages are received immediately - they are <em>not</em> being batched up at the server.</p>
  
  <p>If I reply to the messages and then reply to these replies it does force the Javascript to output the numbers - but this is not sustainable and fails after a few minutes.</p>
  
  <p>Problem is on MacOS with safari or with Opera - the example doesn't work at all for me yet with Chrome or Firefox.</p>
  
  <p>I can use example chat apps with socket.io etc with no problem - the issue is just with streaming numbers to the browser.</p>
  
  <p>I think the example uses gevent as the transport (that is in requirements.txt) - though I am a little hazy about how that all fits together. </p>