escofresco / tinydoor

How's the crowd feeling tonight?
https://tinydoor.co
MIT License
3 stars 0 forks source link

Uploading a New File, Before a Previous File Finished #43

Open UPstartDeveloper opened 4 years ago

UPstartDeveloper commented 4 years ago

Situation

There is an error with how celery tasks are prioritized on Tinydoor.

Background

@escofresco uncovered the following scenario, which has these following conditions:

  1. if someone tries to upload a new video file,
  2. after they have already been redirected to the results page for another video file they previously uploaded,
  3. and the AWS Rekognition was not done processing that video yet -

then an error occurs on the Celery logs. Example logs are shown below, please click on the image to zoom in.

Image of error logs

Assessment

The reason why this error occurs is currently unknown.

Recommendation

The resolution for this error is also currently unknown.

UPstartDeveloper commented 4 years ago

By the end of this task, we want to resolve this error and in addition write an automated test for it!