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

Set ttl for redis keys created for each upload #3748

Closed
mifi opened this issue May 17, 2022 · 0 comments · Fixed by #3771
Closed

Set ttl for redis keys created for each upload #3748

mifi opened this issue May 17, 2022 · 0 comments · Fixed by #3771
Labels
Bug Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3)

Comments

@mifi
Copy link
Contributor

mifi commented May 17, 2022

Keys companion:uuid Are created in redis whenever an upload is started, however not being cleaned up leaking redis space.

@mifi mifi added Bug Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3) Triage labels May 17, 2022
mifi added a commit that referenced this issue May 23, 2022
to prevent buildup in redis
fixes #3748
mifi added a commit that referenced this issue May 26, 2022
* expire redis keys after 1 day

to prevent buildup in redis
fixes #3748

* reuse redis config logic

* Update packages/@uppy/companion/src/server/Uploader.js

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>
HeavenFox pushed a commit to docsend/uppy that referenced this issue Jun 27, 2023
* expire redis keys after 1 day

to prevent buildup in redis
fixes transloadit#3748

* reuse redis config logic

* Update packages/@uppy/companion/src/server/Uploader.js

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Companion The auth server (for Instagram, GDrive, etc) and upload proxy (for S3)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant