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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipelining followups #147
Pipelining followups #147
Changes from 32 commits
f2bc1a4
18af031
ce344d4
e41924b
b46628f
b7c82a1
b1c2b0b
5c06330
ae1ee48
d7fd948
1e71d1a
497df82
fafc6d7
e08d93a
488f1e8
e9af0bd
873cc83
85714d1
b18d85b
27b2168
fb7ea14
14a64cd
29ed381
78b8447
a4d7376
f96dbc8
d65afb4
f12f4e6
4d0386a
f38ed13
f68c929
35c859c
d635841
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 135 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L134-L135
Check warning on line 148 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L148
Check warning on line 200 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L199-L200
Check warning on line 231 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L230-L231
Check warning on line 239 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L238-L239
Check warning on line 258 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L258
Check warning on line 263 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L263
Check warning on line 312 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L312
Check warning on line 331 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L330-L331
Check warning on line 335 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L334-L335
Check warning on line 339 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L338-L339
Check warning on line 353 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L352-L353
Check warning on line 363 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L363
Check warning on line 367 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L367
Check warning on line 377 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L376-L377
Check warning on line 381 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L380-L381
Check warning on line 420 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L420
Check warning on line 424 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L424
Check warning on line 426 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L426
Check warning on line 432 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L431-L432
Check warning on line 477 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L475-L477
Check warning on line 547 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L546-L547
Check warning on line 598 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L596-L598
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the health endpoint bugfix.
Check warning on line 761 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L761
Check warning on line 766 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L766
Check warning on line 794 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L791-L794
Check warning on line 800 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L797-L800
Check warning on line 807 in conduit/pipeline/pipeline.go
Codecov / codecov/patch
conduit/pipeline/pipeline.go#L804-L807
Check warning on line 50 in conduit/plugins/importers/noop/noop_importer.go
Codecov / codecov/patch
conduit/plugins/importers/noop/noop_importer.go#L49-L50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the sleep?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to slow down the pipeline. For example, if you have a no-op for your importer and a file-writer for your exporter this limits the output to 10 blocks per second which is a little easier to manage than without having any sort of brakes on. Another option is to make this configurable, but that didn't strike me as ideal either since I'd like the no-op importer to have no config. LMK.
Check warning on line 74 in conduit/plugins/importers/noop/noop_importer.go
Codecov / codecov/patch
conduit/plugins/importers/noop/noop_importer.go#L73-L74
Check warning on line 52 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L51-L52
Check warning on line 67 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L66-L67
Check warning on line 101 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L97-L101
Check warning on line 115 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L111-L115
Check warning on line 131 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L127-L131
Check warning on line 157 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L153-L157
Check warning on line 163 in pkg/cli/cli.go
Codecov / codecov/patch
pkg/cli/cli.go#L159-L163