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

Fixes #36 #40

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Fixes #36 #40

merged 2 commits into from
Nov 15, 2024

Conversation

t3chn0m4g3
Copy link
Contributor

This fixes:

  • Immediate 100% CPU usage after nmap -sV -v -p 5555 127.0.0.1 by setting a few more time.sleep(0.1)
  • Cleans up threads after 300s of idle time which caused threads building up over time, leading to 100% CPU usage

This does not fix:

  • unsolved dangling (?) thread (caused only by the nmap command AFAIK) which remains after idle sessions have been cleaned up (maybe I understood this wrong, then let me know and close this PR 😅)

Let me know if the code needs changes / explanations.

This fixes:
- Immediate 100% CPU usage
- Cleans up threads after 300s of idle time

This does not fix:
- unsolved dangling (?) thread
@huuck
Copy link
Owner

huuck commented Nov 15, 2024

that looks sweet! ty so much for the fixes!

@huuck huuck merged commit 3ea30d0 into huuck:master Nov 15, 2024
@t3chn0m4g3
Copy link
Contributor Author

Thanks for merging 😃

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

Successfully merging this pull request may close these issues.

2 participants