-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
API for configuring drivers #29
Comments
Perhaps we could utilize s.extend(JobsConfiguration.self) { configuration, container in
let job = try ExecutorJob(container)
configuration.add(job)
configuration.configureRedis(hostname: ..., port: ...)
} |
But with that wouldn't the main |
@mcdappdev no, |
Ahh I see. That could work nicely! Let's plan on doing that. |
We need to make sure that we use the provider (or other means) to properly cleanup any connection pools that we create |
There's a bit of manual work currently required to get a valid
JobsPersistanceLayer
. We should provide some convenience APIs for this like FluentKit does.Each driver can extend those convenience APIs with functions for supplying the required credentials.
The text was updated successfully, but these errors were encountered: