BitShares Forum

Main => Technical Support => Topic started by: ozvic on September 21, 2014, 11:55:25 pm

Title: bitshares_client - "There are now XX connections to the p2p network"
Post by: ozvic on September 21, 2014, 11:55:25 pm
Probably a silly question, but I've missed it everywhere I've looked.

Is there anyway to suppress the "There are no XX connections to the p2p network" message that appears every second or two in the bitshares_client?

Can turn off all output with debug_enable_output, but I find responses to commands is good.

Thanks!

Title: Re: bitshares_client - "There are now XX connections to the p2p network"
Post by: svk on September 22, 2014, 07:59:42 am
Don't know if there's a command for that, but a simple work-around is to set the maximum number of connections to a reasonable number, once you get to the desired number it will stop spamming you. This should do the trick:

Code: [Select]
network_set_advanced_node_parameters {"maximum_number_of_connections":15}
Title: Re: bitshares_client - "There are now XX connections to the p2p network"
Post by: ozvic on September 22, 2014, 01:39:46 pm
Thanks svk, will give it a go.

Currently hovering around 40 connections, so will cut it back a few.