Repository navigation
lib/model: Handle progress emitter zero interval (fixes #6281) - #6282
Merged
Merged
Conversation
Makes the logic a bit clearer and safer. This also sneakily redefines the 0 interval to also mean disabled, whereas it previously meant ... sometimes default to 1s, sometimes just spin.
imsodin
approved these changes
Jan 20, 2020
AudriusButkevicius
approved these changes
Jan 20, 2020
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Jan 21, 2020
* master: lib/model: Handle progress emitter zero interval (fixes syncthing#6281) (syncthing#6282) build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1 (syncthing#6279) cmd/syncthing: Always use monitor process (fixes syncthing#4774, fixes syncthing#5786) (syncthing#6278) lib/syncthing: Wait for actual termination on Stop() (syncthing#6277) lib/model: Remove legacy handling of symlinks (syncthing#6276) lib/model: Return paused summary instead of error on paused folders (syncthing#6272) lib/config: Add some info to the folder marker missing (ref syncthing#5207) (syncthing#6270)
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Jan 30, 2020
* master: (28 commits) gui, man, authors: Update docs, translations, and contributors lib/config, lib/model: Limit concurrent pulls (fixes syncthing#5914) (syncthing#6290) lib/db: Fixup last commit with better key name lib/db: Configurable block GC time (syncthing#6295) lib/db: Deduplicate block lists in database (fixes syncthing#5898) (syncthing#6283) lib/relays: Fix incorrect timeout, bring back logging (ref syncthing#6289) (syncthing#6291) gui, man, authors: Update docs, translations, and contributors all: Transactionalize db.FileSet (fixes syncthing#5952) (syncthing#6239) lib/model: Handle progress emitter zero interval (fixes syncthing#6281) (syncthing#6282) build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1 (syncthing#6279) cmd/syncthing: Always use monitor process (fixes syncthing#4774, fixes syncthing#5786) (syncthing#6278) lib/syncthing: Wait for actual termination on Stop() (syncthing#6277) lib/model: Remove legacy handling of symlinks (syncthing#6276) lib/model: Return paused summary instead of error on paused folders (syncthing#6272) lib/config: Add some info to the folder marker missing (ref syncthing#5207) (syncthing#6270) assets, gui: Losslessly compress all JPG, PNG, and PDF images (syncthing#6265) cmd/strelaypoolsrv: Serve gzip compressed responses gui, man, authors: Update docs, translations, and contributors gui, man, authors: Update docs, translations, and contributors build: go mod tidy ...
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Jan 30, 2020
* master: (32 commits) gui, man, authors: Update docs, translations, and contributors lib/config, lib/model: Limit concurrent pulls (fixes syncthing#5914) (syncthing#6290) lib/db: Fixup last commit with better key name lib/db: Configurable block GC time (syncthing#6295) lib/db: Deduplicate block lists in database (fixes syncthing#5898) (syncthing#6283) lib/relays: Fix incorrect timeout, bring back logging (ref syncthing#6289) (syncthing#6291) gui, man, authors: Update docs, translations, and contributors all: Transactionalize db.FileSet (fixes syncthing#5952) (syncthing#6239) lib/model: Handle progress emitter zero interval (fixes syncthing#6281) (syncthing#6282) build(deps): bump github.com/pkg/errors from 0.9.0 to 0.9.1 (syncthing#6279) cmd/syncthing: Always use monitor process (fixes syncthing#4774, fixes syncthing#5786) (syncthing#6278) lib/syncthing: Wait for actual termination on Stop() (syncthing#6277) lib/model: Remove legacy handling of symlinks (syncthing#6276) lib/model: Return paused summary instead of error on paused folders (syncthing#6272) lib/config: Add some info to the folder marker missing (ref syncthing#5207) (syncthing#6270) assets, gui: Losslessly compress all JPG, PNG, and PDF images (syncthing#6265) cmd/strelaypoolsrv: Serve gzip compressed responses gui, man, authors: Update docs, translations, and contributors gui, man, authors: Update docs, translations, and contributors build: go mod tidy ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the logic a bit clearer and safer. This also sneakily redefines
the 0 interval to also mean disabled, whereas it previously meant ...
sometimes default to 1s, sometimes just spin.