This commit is contained in:
Christien Rioux 2023-09-10 20:30:29 -04:00
parent 5acf024cdb
commit b3294d905d
2 changed files with 3 additions and 3 deletions

View File

@ -687,7 +687,7 @@ impl VeilidAPI {
// Dump core state // Dump core state
let state = self.get_state().await?; let state = self.get_state().await?;
let mut peertable = format!("Connections: {}\n", state.network.peers.len()); let mut peertable = format!("Recent Peers: {}\n", state.network.peers.len());
for peer in state.network.peers { for peer in state.network.peers {
peertable += &format!( peertable += &format!(
" {} | {} | {} | {} down | {} up\n", " {} | {} | {} | {} down | {} up\n",

View File

@ -173,14 +173,14 @@ Future<VeilidConfig> getDefaultVeilidConfig(String programName) async {
ws: VeilidConfigWS( ws: VeilidConfigWS(
connect: true, connect: true,
listen: !kIsWeb, listen: !kIsWeb,
maxConnections: 32, maxConnections: 1024,
listenAddress: '', listenAddress: '',
path: 'ws', path: 'ws',
), ),
wss: VeilidConfigWSS( wss: VeilidConfigWSS(
connect: true, connect: true,
listen: false, listen: false,
maxConnections: 32, maxConnections: 1024,
listenAddress: '', listenAddress: '',
path: 'ws', path: 'ws',
), ),