Implement indexing into Apache Druid #1
|
@ -82,7 +82,7 @@ def provisionRelay(num, network): # provision user and network data
|
|||
def provisionMultipleRelays(net, relaysNeeded):
|
||||
if not main.config["ChanKeep"]["Provision"]:
|
||||
warn(f"Asked to create {relaysNeeded} relays for {net}, but provisioning is disabled")
|
||||
return 0
|
||||
return []
|
||||
numsProvisioned = []
|
||||
for i in range(relaysNeeded):
|
||||
num, alias = main.network[net].add_relay()
|
||||
|
|
Loading…
Reference in New Issue