Skip to content
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

Refactor Lambdas to use queue prefix and reuse logic #191

Open
AntoineAugusti opened this issue Feb 10, 2021 · 1 comment
Open

Refactor Lambdas to use queue prefix and reuse logic #191

AntoineAugusti opened this issue Feb 10, 2021 · 1 comment

Comments

@AntoineAugusti
Copy link
Contributor

#188 introduced a new variable to hold the SQS queue prefix. We should use this in SES and SNS Lambdas.

On top of this, it would be good to refactor code and put methods in a common lib because we often need to get a queue and push Celery envelopes into it in all these Lambdas.

We could have a small Python file holding this logic that would be included in all 3 Lambdas.

@AntoineAugusti
Copy link
Contributor Author

Ping @jimleroyer, as requested #188 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant