danielplohmann / mcrit

The MinHash-based Code Relationship & Investigation Toolkit (MCRIT) is a framework created to simplify the application of the MinHash algorithm in the context of code similarity.
GNU General Public License v3.0
86 stars 12 forks source link

Log from worker subprocess, check if result_id is received #78

Open yankovs opened 4 months ago

yankovs commented 4 months ago

Fixes #76

Should anything be done on the else branch in line 127? Maybe marking job as failed?

danielplohmann commented 4 months ago

Hey, I have a quick question: Why is it needed to remove the context manager for the jobs? Did that part break something or cause issues? I'm asking because when jobs exit their context, they do some stuff, especially the complete() updates the queue collection counters.