-
Notifications
You must be signed in to change notification settings - Fork 24
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
[WJ-1145] Add initial redis support #1668
Conversation
It doesn't fix the redis warning, so I'll just get rid of this.
just add #[derive(Debug)] please, it's not that hard
Permits local connections when hosted in Docker.
Rsmq is single-connection and so cannot be be cloned, which given that it requires &mut is a problem. MultiplexedRsmq can be cloned since it has a series of connections underneath, so it can be cloned, and the &mut requirement in the trait is not an issue.
Only exists for local, similar to minio for S3.
Since we were missing it and it's another local-only container workflow.
pub localizations: Localizations, | ||
pub mime_analyzer: MimeAnalyzer, | ||
pub job_queue: JobQueue, | ||
pub s3_bucket: Bucket, | ||
} | ||
|
||
impl Debug for ServerStateInner { |
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.
redis::ai::ConnectionManager
is not Debug
Since these builds use local paths only, instead of full-repo context, this is the correct way to set context for these builds.
Codecov Report
@@ Coverage Diff @@
## develop #1668 +/- ##
===========================================
- Coverage 40.65% 40.50% -0.16%
===========================================
Files 338 340 +2
Lines 10641 10678 +37
===========================================
- Hits 4326 4325 -1
- Misses 6315 6353 +38
*This pull request uses carry forward flags. Click here to find out more.
|
The lint failure is Clippy complaining about unused imports it previously didn't care about. Going to ignore for now since it's unimportant, will fix later. |
thanks @Yossipossi1 |
This PR adds Redis support to DEEPWELL, secrets retrieval, a local Redis container (similar to minio) for development, and the GitHub workflows for redis and minio.
I ensure DEEPWELL builds with Redis, and the
ping
method now checks for the Redis connection in addition to the existing Postgres connection check.