Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Conversation

@TheTechmage
Copy link
Collaborator

No description provided.

Signed-off-by: Colton Wolkins (Indicio work address) <colton@indicio.tech>
Signed-off-by: Colton Wolkins (Indicio work address) <colton@indicio.tech>
@TheTechmage TheTechmage requested a review from burdettadam May 11, 2022 13:50
#TODO: clear redis cache given a key
pass
keysDeleted = await self.redis.delete(f"ACA-Py:{key}")
assert keysDeleted == 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the assertion. we can add error reporting too.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assertion might not be true in the case that the key has expired.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assertion was eventually removed partially for that reason

@TheTechmage TheTechmage merged commit d14e89b into main May 11, 2022
@TheTechmage TheTechmage deleted the feature/clear branch May 11, 2022 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants