-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: make time out in delete assets to be configurable #82
feat: make time out in delete assets to be configurable #82
Conversation
81f5ad7
to
9ee9390
Compare
Pull Request Test Coverage Report for Build 10666882632Details
💛 - Coveralls |
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.
Rest looks good
dbad4f8
to
0f0b609
Compare
cli/server.go
Outdated
LineageRepo: lineageRepository, | ||
Worker: wrkr, | ||
Logger: logger, | ||
DeleteAssetsTimeout: cfg.Asset.DeleteAssetsTimeout, |
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.
let's pass the cfg altogether
core/asset/service.go
Outdated
@@ -19,6 +19,7 @@ type Service struct { | |||
lineageRepository LineageRepository | |||
worker Worker | |||
logger log.Logger | |||
assetConfig Config |
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.
let's avoid unnecessary context, we can use config as name
assetConfig Config | |
config Config |
d4b7f54
to
fbc4a5e
Compare
No description provided.