syncthing/lib/config
Jakob Borg 55937b61ca
lib/model: Add global request limiter (fixes #6302) (#6303)
This adds a new config with the simple and concise name
maxConcurrentIncomingRequestKiB. This limits how many bytes we have "in
the air" in the form of response data being read and processed.

After some testing I think that not having this limiter is seldom a
great idea and thus I propose a default value of 256 MiB for this new
setting.

I also refactored the folder IO limiter to be a model/folder attribute
instead of a package global.
2020-02-01 08:02:18 +01:00
..
testdata lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) 2020-01-27 17:31:17 +01:00
authmode.go cmd/syncthing: Add LDAP authentication for GUI (fixes #5163) (#5169) 2018-09-11 23:25:24 +02:00
commit_test.go all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
config.go lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) 2020-01-27 17:31:17 +01:00
config_test.go lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) 2020-01-27 17:31:17 +01:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
deviceconfiguration.go all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
folderconfiguration.go lib/config: Add some info to the folder marker missing (ref #5207) (#6270) 2020-01-16 15:30:29 +01:00
foldertype.go all: Add receive only folder type (#5027) 2018-07-12 11:15:57 +03:00
guiconfiguration.go cmd/syncthing: Listen on UNIX socket (fixes #3616) (#5210) 2018-09-21 14:28:57 +02:00
ldapconfiguration.go cmd/syncthing: Add LDAP authentication for GUI (fixes #5163) (#5169) 2018-09-11 23:25:24 +02:00
ldaptransport.go cmd/syncthing: Add LDAP authentication for GUI (fixes #5163) (#5169) 2018-09-11 23:25:24 +02:00
migrations.go lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) 2020-01-27 17:31:17 +01:00
migrations_test.go lib/ur: Implement crash (panic) reporting (fixes #959) (#5702) 2019-06-11 08:19:11 +02:00
observed.go lib/config: Rewrite pending notifications (fixes #2291) 2018-08-25 11:36:10 +01:00
optionsconfiguration.go lib/model: Add global request limiter (fixes #6302) (#6303) 2020-02-01 08:02:18 +01:00
pullorder.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
size.go lib/config: Format bytes in insufficient space errors (fixes #5920) (#5921) 2019-08-02 14:43:05 +02:00
size_test.go lib/config: Format bytes in insufficient space errors (fixes #5920) (#5921) 2019-08-02 14:43:05 +02:00
tuning.go lib/db: Use different defaults for larger databases (fixes #5966) (#5967) 2019-08-20 09:41:41 +02:00
tuning_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
versioningconfiguration.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
wrapper.go lib: Consistently unsubscribe from config-wrapper (fixes #6133) (#6205) 2019-12-04 07:15:00 +01:00