• Randall Leeds's avatar
    Switch to ws4py · 2358bd20
    Randall Leeds authored
    Since pyramid_sockjs seems pretty unmaintained, having fallen behind
    gevent-websocket quite a bit, and there don't seem to be any actively
    maintained pyramid websocket integration libraries, switch to using
    ws4py directly.
    
    This change drops support for non-native websockets. As a result, we
    have to do our own JSON decoding of the messages.
    
    We also switch to a `gevent.pywsgi` based worker of our own. This
    worker combines the gevent_pywsgi worker from Gunicorn with the
    gevent helpers from ws4py that cleanly shutdown sockets on server
    termination.
    2358bd20
streamer-service-test.coffee 2.69 KB