Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

Queue is ignored in-between sessions #88

Closed
jecarr opened this issue Jul 22, 2021 · 1 comment
Closed

Queue is ignored in-between sessions #88

jecarr opened this issue Jul 22, 2021 · 1 comment

Comments

@jecarr
Copy link

jecarr commented Jul 22, 2021

Please Describe The Problem To Be Solved

Minor but the queue is currently being ignored in between sessions. My queue in TRAM may build up over time but only reports submitted in my current session will be completed (i.e. queue some reports, stop running TRAM, startup TRAM another time, queue is not resumed).

Proposed Change

I have a fix here - arachne-threat-intel/thread@45f76bc - but haven't created a PR due to maintaining #61. The approach is to:

  1. Prepare the queue before the app starts up (with any reports with status 'queue').
    a. Delete any related db items for this queued report as it will go through start_analysis() again and re-populate db
  2. Allow the app to start up
  3. Check queue which will trigger analysis of first report left in queue
@MarkDavidson
Copy link
Contributor

Hello @jecarr and thank you for the bug report. TRAM has moved to https://github.com/center-for-threat-informed-defense/tram and this issue is no longer present in that repository so I am closing this issue. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants