Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

rcache: Explicitly pass redis pool to use#63644

Merged
eseliger merged 1 commit intomainfrom
es/07-04-rcacheexplicitlypassredispooltouse
Jul 9, 2024
Merged

rcache: Explicitly pass redis pool to use#63644
eseliger merged 1 commit intomainfrom
es/07-04-rcacheexplicitlypassredispooltouse

Conversation

@eseliger
Copy link
Member

@eseliger eseliger commented Jul 4, 2024

Recently, this was refactored to also allow using the redispool.Store.
However, that makes it very implicit to know where something is being written, so instead we pass down the pool instance at instantiation.

This also gives a slightly better overview of where redispool is actually required.

Test plan: CI passes.

@cla-bot cla-bot bot added the cla-signed label Jul 4, 2024
Recently, this was refactored to also allow using the redispool.Store.
However, that makes it very implicit to know where something is being written, so instead we pass down the pool instance at instantiation.

This also gives a slightly better overview of where redispool is actually required.

Test plan: CI passes.
@eseliger eseliger force-pushed the es/07-04-rcacheexplicitlypassredispooltouse branch from 5666b30 to cd47721 Compare July 9, 2024 22:36
@eseliger eseliger merged commit 169db11 into main Jul 9, 2024
Copy link
Member Author

eseliger commented Jul 9, 2024

Merge activity

@eseliger eseliger deleted the es/07-04-rcacheexplicitlypassredispooltouse branch July 9, 2024 23:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants