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

Do no start sniffer thread unnecessarily #466

Merged
merged 3 commits into from
Mar 22, 2021

Conversation

ArnoStiefvater
Copy link
Member

What:

Do not start sniffer thread if only consider alive was chosen for alive test.

Why:

Small Speed improvement for alive scanning.

How:

Run simple scan before and after applied PR. Should be a difference of 1-2 seconds for the alive detection.

Checklist:

When only consider alive is chosen for alive test
no sniffer thread is needed because hosts are put
on the alive queue right away.
@ArnoStiefvater ArnoStiefvater added the backport-to-main This pull request will be ported to the master branch label Mar 22, 2021
@jjnicola jjnicola merged commit 9bb8346 into greenbone:gvm-libs-21.04 Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants