mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-07-23 10:03:20 +00:00
enable queries by default when mix enabled or they won't work in standalone mode
This commit is contained in:
parent
0e8c4e66d9
commit
1543e31317
@ -361,6 +361,11 @@ proc new*(
|
||||
switch.mount(network)
|
||||
switch.mount(manifestProto)
|
||||
|
||||
# Enables private queries by default when mix is enabled.
|
||||
if config.mixEnabled:
|
||||
info "Enabling private queries over DHT by default", enabled = config.mixEnabled
|
||||
discard discovery.togglePrivateQueries(true)
|
||||
|
||||
StorageServer(
|
||||
config: config,
|
||||
storageNode: storageNode,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user