Race condition decodes frames twice
As reported by the QUETZAL-1 team in a personal conversation to me:
Some submitted frames seem to be decoded twice.
After checking the code for the frame-decoding I recognised, that a race condition could occur where the query returns a set with not yet decoded frames while they are still processed.
Two suggestions:
- check for
is_decoded
flag in the iteration - set the periodic task to 4hrs