Implement indexing into Apache Druid #1

Closed
m wants to merge 263 commits from druid into master
1 changed files with 8 additions and 0 deletions
Showing only changes of commit 5db0373731 - Show all commits

View File

@ -35,6 +35,14 @@ def allRelaysActive(net):
if name in main.IRCPool.keys(): if name in main.IRCPool.keys():
if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected: if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected:
existNum += 1 existNum += 1
else:
debug(f"allRelaysActive() {name} is not authenticated or connected")
debug(
(
f"allRelaysActive() {name} auth:{main.IRCPool[name].authenticated} "
f"connected:{main.IRCPool[name].isconnected}"
)
)
debug(f"allRelaysActive() finished, {existNum}/{relayNum} relays active for {net}") debug(f"allRelaysActive() finished, {existNum}/{relayNum} relays active for {net}")
if existNum == relayNum: if existNum == relayNum:
return True return True