fix tests: disable Noise encryption in multi-peer, swarm, chaos perf

tests
This commit is contained in:
2026-02-13 17:29:45 -03:00
parent 6ec1346cfd
commit 46c1fa13af
3 changed files with 5 additions and 0 deletions

View File

@@ -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;