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

Compressed payloads #32

Closed
brendt opened this issue Nov 19, 2019 · 2 comments
Closed

Compressed payloads #32

brendt opened this issue Nov 19, 2019 · 2 comments

Comments

@brendt
Copy link
Contributor

brendt commented Nov 19, 2019

What do you think of adding an option to compress payloads when saving them to a database? Payloads can grow quite large, and since it's all JSON data I figure there's lots to gain from compressing the data.

@brendt
Copy link
Contributor Author

brendt commented Nov 19, 2019

We could use gzcompress

@freekmurze
Copy link
Member

I'd like to keep this package very simple. Inside the job that processes the webhook, you can take care of this yourself. You can copy the payload to some compressed storage and delete the row in the default table provided by this package.

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

2 participants