drwtsn32
(Rod)
1
Sending SIGUSR2 to toggle the bandwidth limiter always shows this in the log, regardless of it being toggled off or back on:
2024/09/25 14:38:50 NOTICE: Bandwidth limit disabled by user
I think it should show the current bandwidth limit when being toggled back on.
I believe this is just a reporting issue in the log. The bandwidth limiter DOES seem to be toggled back on correctly.
rclone v1.68.1
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-196-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: none
asdffdsa
(jojothehumanmonkey)
2
hi,
is this a bug or are you requesting a new feature?
drwtsn32
(Rod)
3
Bug. I think it should display the "disabled by user" message only when toggling the bwlimit OFF.
When toggling it back ON, it should not say "disabled by user" but should show the current bwlimit, like it does other times in the log. Example:
2024/09/25 13:27:30 INFO : Starting bandwidth limiter at 95Mi:off Byte/s
drwtsn32
(Rod)
5
I'm sorry but how is this not a bug?
When bwlimit is toggled back on (by sending subsequent SIGUSR2), the message put in the log file is that the limit is disabled. That's clearly wrong.
Maybe I'm not explaining this very well.
drwtsn32
(Rod)
7
Looks like it's supposed to say "Bandwidth limit enabled by user" when toggling back on:
Not sure why that's not working properly.
asdffdsa
(jojothehumanmonkey)
8
ok, might want to open an issue at github
asdffdsa
(jojothehumanmonkey)
10
sorry, i guess i am still a bit confused.
are you also asking for a new feature?
drwtsn32
(Rod)
11
I said that before I looked at the source. I was speculating on what the message was supposed to say.
Issue has been fixed and the message has been enhanced.
system
(system)
Closed
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.