Example #1
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     # we return a spec
     return (
         MyTcpWorker,
         30,
         "worker",
         {},
         "http_welcome",
     )
Example #2
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     # we return a spec
     return (conf['fanout.worker'], 30, "worker", {}, "worker",)
Example #3
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     return RedBarrelSocketIOWorker, 9999, "worker", conf, "socketio"
Example #4
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     return RedBarrelWSGIWorker, 30, "worker", conf, "rb"
Example #5
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     # we return a spec
     return (MyTcpWorker, 30, "worker", {}, "http_welcome",)
Example #6
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     return RedBarrelSocketIOWorker, 9999, "worker", conf, "socketio"
Example #7
0
 def on_init(self, conf):
     TcpArbiter.on_init(self, conf)
     return RedBarrelWSGIWorker, 30, "worker", conf, "rb"