BeMoreHumanOrg / bemorehuman

The recommendation engine with particular focus on uniqueness of the person receiving the rec.
https://bemorehuman.org
MIT License
49 stars 0 forks source link

recgen processes hang around and don't get removed #16

Closed unbrand closed 1 year ago

unbrand commented 1 year ago

Describe the bug recgen processes do not get removed, cluttering up the process space and potentially causing unwelcome side effects

To Reproduce Steps to reproduce the behavior:

  1. run a recgen process either manually or via bemorehuman script
  2. ctrl-c the bemorehuman script after some recommendations were generated
  3. run bemorehuman again
  4. after recommendations are generated, you'll see multiple recgen processes when there should be only one

Expected behavior THere should only ever be a maximum of one recgen process

Screenshots n/a

OS environment (please complete the following information):

Additional context Probably want to check the other processes like ratgen and valgen to make sure they don't suffer the same problem.

unbrand commented 1 year ago

fixed by adding a few lines to check for recgen in bemorehuman script.