Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning result of calling start() where the function has no return #77

Open
fritterhoff opened this issue Jul 20, 2021 · 1 comment
Open
Assignees
Labels
bug Something isn't working Pusher Pusher related issue
Milestone

Comments

@fritterhoff
Copy link
Collaborator

The method start() returns None so the if branch is always true -> You start a new job every 2 minutes which will cause strange effects.

Pusher.PUSHER_THREAD = Thread(target=Pusher.consume_findings, daemon=True).start()

@fritterhoff fritterhoff added bug Something isn't working Pusher Pusher related issue labels Jul 20, 2021
@fritterhoff fritterhoff added this to the 0.1.2 milestone Jul 20, 2021
@fritterhoff
Copy link
Collaborator Author

Same error in

Pusher.PUSHER_THREAD = Thread(target=Pusher.consume_findings, daemon=True).start()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Pusher Pusher related issue
Projects
None yet
Development

No branches or pull requests

2 participants