pandora
pandora copied to clipboard
pub-sub channel of upload and results
It would be nice to add an option to create two optional redis pub-sub channels:
- One with the JSON of the file submitted;
- One with the JSON of the result;
This can be enabled or disabled in the configuration. This will be used later by other tools which can subscribe to the channels.
Pub/sub channel for submissions is implemented: https://github.com/pandora-analysis/pandora/commit/d89e765558ca1c5e9f046cdba4841309f99bbed2 https://github.com/pandora-analysis/pandora/commit/aa15259b0b601b88707e5406e41375abfcaebc54
The result is a little bit more tricky and probably needs an additional script that checks regularly if there results are available because this process can take a while, especially if there are archives.