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

fix rateLimiter not stop #1236

Merged
merged 1 commit into from
Jun 19, 2023
Merged

fix rateLimiter not stop #1236

merged 1 commit into from
Jun 19, 2023

Conversation

anhnmt
Copy link
Contributor

@anhnmt anhnmt commented Jun 16, 2023

This commit fixes the issue #1086

@ehsandeep
Copy link
Member

@anhnmt it was fixed in dev version with #1174, do you still experience the same issue with dev version?

@ehsandeep ehsandeep added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jun 17, 2023
@anhnmt
Copy link
Contributor Author

anhnmt commented Jun 17, 2023

@ehsandeep yes i used developer version and had problem related to ratelimit still increasing goroutine count

goroutine profile: total 3135
2749 @ 0x439cd6 0x449f7e 0x1371dac 0x46c861
#	0x1371dab	github.com/projectdiscovery/ratelimit.(*Limiter).run+0x16b	/go/pkg/mod/github.com/projectdiscovery/ratelimit@v0.0.8/ratelimit.go:31

after using close ratelimit the problem is solved

@ehsandeep ehsandeep requested a review from ShubhamRasal June 17, 2023 18:17
Copy link
Contributor

@ShubhamRasal ShubhamRasal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anhnmt Thanks for this, We missed the closing the rate limiter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Used httpx as the go library. runner.fastdialer not close and rateLimiter not stop
3 participants