def on_init(self, conf): TcpArbiter.on_init(self, conf) # we return a spec return ( MyTcpWorker, 30, "worker", {}, "http_welcome", )
def on_init(self, conf): TcpArbiter.on_init(self, conf) # we return a spec return (conf['fanout.worker'], 30, "worker", {}, "worker",)
def on_init(self, conf): TcpArbiter.on_init(self, conf) return RedBarrelSocketIOWorker, 9999, "worker", conf, "socketio"
def on_init(self, conf): TcpArbiter.on_init(self, conf) return RedBarrelWSGIWorker, 30, "worker", conf, "rb"
def on_init(self, conf): TcpArbiter.on_init(self, conf) # we return a spec return (MyTcpWorker, 30, "worker", {}, "http_welcome",)