mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Add commented code to allow easily getting at the debug socket, needs eventlet fix to work
This commit is contained in:
parent
982b438279
commit
44c8098906
@ -15,6 +15,7 @@ import confluent.pluginapi as pluginapi
|
||||
import confluent.httpapi as httpapi
|
||||
import confluent.sockapi as sockapi
|
||||
import eventlet
|
||||
import eventlet.backdoor as backdoor
|
||||
from eventlet.green import socket
|
||||
from eventlet import wsgi
|
||||
import multiprocessing
|
||||
@ -23,6 +24,9 @@ import os
|
||||
|
||||
def run():
|
||||
pluginapi.load_plugins()
|
||||
#TODO: eventlet has a bug about unix domain sockets, this code works with bugs fixed
|
||||
#dbgsock = eventlet.listen("/var/run/confluent/dbg.sock", family=socket.AF_UNIX)
|
||||
#eventlet.spawn_n(backdoor.backdoor_server, dbgsock)
|
||||
webservice = httpapi.HttpApi()
|
||||
webservice.start()
|
||||
sockservice = sockapi.SockApi()
|
||||
|
Loading…
Reference in New Issue
Block a user