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

Already calculated detection results arent used? #88

Open
pscheit opened this issue Mar 2, 2025 · 0 comments
Open

Already calculated detection results arent used? #88

pscheit opened this issue Mar 2, 2025 · 0 comments

Comments

@pscheit
Copy link

pscheit commented Mar 2, 2025

Hey,

did I read this correctly, that everytime thumbor adds an image, a new job is put to the resque-queue? Therefore remotecv does a full detect for every image that thumbor delivers?
https://github.com/thumbor/thumbor/blob/master/thumbor/detectors/queued_detector/__init__.py#L33

Cause in the pyres worker it does not check if the result is already present?
https://github.com/thumbor/remotecv/blob/master/remotecv/pyres_tasks.py#L13

I am using redis as storage result and wondered why there so many duplicate tasks in the queue

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