-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make concurrentFetchers change its concurrency dynamically (#9437)
* Make concurrentFetchers change its concurrency dynamically Signed-off-by: gotjosh <[email protected]> * address review comments Signed-off-by: gotjosh <[email protected]> * `make doc` Signed-off-by: gotjosh <[email protected]> * inline the stop method Signed-off-by: gotjosh <[email protected]> * Fix panic when creating concurrent fetchers fails Signed-off-by: Dimitar Dimitrov <[email protected]> * Disabled by default Signed-off-by: gotjosh <[email protected]> * we don't need to handle the context in start Signed-off-by: gotjosh <[email protected]> * don't store concurrency or records per fetch Signed-off-by: gotjosh <[email protected]> * add validation to the flags Signed-off-by: gotjosh <[email protected]> * Ensure we don't leak any goroutines. Signed-off-by: gotjosh <[email protected]> * remove concurrent and recordsperfetch from the main struct Signed-off-by: gotjosh <[email protected]> --------- Signed-off-by: gotjosh <[email protected]> Signed-off-by: Dimitar Dimitrov <[email protected]> Co-authored-by: Dimitar Dimitrov <[email protected]>
- Loading branch information
1 parent
861563d
commit e74927d
Showing
8 changed files
with
228 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.