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
chore: one (*sql.DB) pool for all jobsdb #5170
chore: one (*sql.DB) pool for all jobsdb #5170
Changes from 8 commits
3966164
163c085
625f3ee
6b85d6f
dfa116a
310aa7c
12df2fc
18a0b29
bc9b051
618e99c
14b50c7
7464400
209a9c1
55bfc68
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 147 in app/apphandlers/embeddedAppHandler.go
Codecov / codecov/patch
app/apphandlers/embeddedAppHandler.go#L147
Check warning on line 77 in app/apphandlers/gatewayAppHandler.go
Codecov / codecov/patch
app/apphandlers/gatewayAppHandler.go#L77
Check warning on line 153 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L149-L153
Check warning on line 155 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L155
Check warning on line 164 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L164
Check warning on line 173 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L173
Check warning on line 182 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L182
Check warning on line 191 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L191
Check warning on line 199 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L199
Check warning on line 201 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L201
Check warning on line 211 in app/apphandlers/processorAppHandler.go
Codecov / codecov/patch
app/apphandlers/processorAppHandler.go#L211
Check warning on line 802 in jobsdb/jobsdb.go
Codecov / codecov/patch
jobsdb/jobsdb.go#L802
Check warning on line 52 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L52
Check warning on line 55 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L55
Check warning on line 63 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L63
Check warning on line 89 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L89
Check warning on line 94 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L91-L94
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 not move this below
<-ticker.C
?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.
no reason
just used to writing it like this
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.
[Optional]
Check warning on line 104 in utils/misc/dbutils.go
Codecov / codecov/patch
utils/misc/dbutils.go#L100-L104