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