From 049600a39f6c74408ba0cf3d3568882597188df4 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Tue, 12 Aug 2025 21:22:09 +0900 Subject: [PATCH] adjust the timing of verbose printing of the bw limit value --- src/mscp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mscp.c b/src/mscp.c index ec36cde..8de7de4 100644 --- a/src/mscp.c +++ b/src/mscp.c @@ -273,7 +273,6 @@ struct mscp *mscp_init(struct mscp_opts *o, struct mscp_ssh_opts *s) priv_set_errv("bwlimit_init: %s", strerrno()); goto free_out; } - pr_notice("bitrate limit: %lu bps", o->bitrate); /* workaround: set libssh using openssh proxyjump * https://gitlab.com/libssh/libssh-mirror/-/issues/319 */ @@ -563,6 +562,9 @@ int mscp_start(struct mscp *m) m->opts->nr_threads = n; } + pr_notice("threads: %d",m->opts->nr_threads); + pr_notice("bwlimit: %ld bps", m->bw.bps); + for (n = 0; n < m->opts->nr_threads; n++) { t = mscp_copy_thread_spawn(m, n); if (!t)