mirror of
https://github.com/upa/mscp.git
synced 2026-02-16 10:54:47 +08:00
adjust the timing of verbose printing of the bw limit value
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user