aboutcode-org / aboutcode-org/purldb

Update scan queue

未关闭
#159 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
67
派生
69
平均合并
8 天 8 小时
30 天内合并 PR
1

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。