aboutcode-org / aboutcode-org/purldb

Update scan queue

Offen
#159 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
67
Forks
69
Ø Merge
8 T. 8 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.