fix tests: disable Noise encryption in multi-peer, swarm, chaos perf
tests
This commit is contained in:
@@ -85,6 +85,7 @@ fn initPeerThread(ctx: *PeerInitContext) void {
|
||||
|
||||
var config = p2p_lib.P2PConfig.default();
|
||||
config.network.listen_port = peer_port;
|
||||
config.network.enable_noise_encryption = false;
|
||||
config.events.enable_logging = false;
|
||||
config.file_sharing.max_concurrent_uploads = 64;
|
||||
config.file_sharing.piece_size = PIECE_SIZE;
|
||||
@@ -346,6 +347,7 @@ pub fn main() !void {
|
||||
|
||||
var client_config = p2p_lib.P2PConfig.default();
|
||||
client_config.network.listen_port = client_port;
|
||||
client_config.network.enable_noise_encryption = false;
|
||||
client_config.events.enable_logging = false;
|
||||
client_config.file_sharing.max_concurrent_downloads = 512;
|
||||
client_config.file_sharing.piece_size = PIECE_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user