Implement indexing into Apache Druid #1
|
@ -1,6 +1,7 @@
|
||||||
import main
|
import main
|
||||||
from modules import chankeep
|
from modules import chankeep
|
||||||
|
|
||||||
|
|
||||||
def get_first_relay(net):
|
def get_first_relay(net):
|
||||||
"""
|
"""
|
||||||
Get the first relay in the network.
|
Get the first relay in the network.
|
||||||
|
@ -20,6 +21,7 @@ def get_first_relay(net):
|
||||||
return main.IRCPool[name]
|
return main.IRCPool[name]
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def is_first_relay(net, num):
|
def is_first_relay(net, num):
|
||||||
"""
|
"""
|
||||||
Determine if we are the first relay for the network.
|
Determine if we are the first relay for the network.
|
||||||
|
|
Loading…
Reference in New Issue