Jakob Borg
bdbaa84989
lib/connections: Wrong context snuck in somehow
2018-03-27 07:18:26 -04:00
Jakob Borg
c49d864f14
lib/connections: Slightly refactor limiter juggling
...
Two small behavior changes: don't "charge" the data to the global rate
limit until it's been accepted by the device specific limiter, and fix
the send/recv direction in the log print on per device rate limits.
2018-03-26 11:45:02 -04:00
qepasa
2621c6fd2f
lib/connections, lib/config: Bandwidth throttling per remote device ( fixes #4516 ) ( #4603 )
2018-03-26 12:01:59 +02:00
Jakob Borg
f7fc0c1d3e
all: Update license url to https (ref #3976 )
2017-02-09 08:04:16 +01:00
Audrius Butkevicius
2c4b92d410
lib/connections: Fix rate limiting on arm64 ( fixes #3921 )
...
Skip-check: metalint
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3922
2017-01-23 20:55:00 +00:00
Jakob Borg
ec62888539
lib/connections: Allow on the fly changes to rate limits ( fixes #3846 )
...
Also replaces github.com/juju/ratelimit with golang.org/x/time/rate as
the latter supports changing the rate on the fly.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3862
2017-01-02 11:29:20 +00:00