aboutcode-org / aboutcode-org/purldb

Update scan queue

Ouverte
#159 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
HTML
Étoiles
67
Forks
69
Merge moyen
8 j 8 h
PR mergées (30 j)
1

Description

The scan queue has several issues:
- `process_scan` crashes when it loses connection with scancode.io. We should ensure that we handle this exception correctly and stop the queue if we can't communicate with scancode.io
- The code that deals with calling scancode.io should also be updated along the lines of https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/purldb.py .
- `process_scan` should rotate between the three in-progress scans to see which is available first to be indexed, rather than waiting on one.
- Submitted scans would not always update their status properly and would be stuck in the `scan submitted` stage.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.