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

Update for sdk asynchronous issue #715

Closed
wants to merge 1 commit into from

Conversation

Serhatcck
Copy link

When I ran Katana as an SDK, it was only crawling a single URL. Upon investigating, I found that it was due to the 'Do' function in 'pkg/engine/common/base.go.' The structure for asynchronously adding data to the queue wasn't working in conjunction with the for loop. The for loop wasn't waiting for the result of the asynchronous function, so when a new value arrived in the queue, the for loop had already completed. To resolve this, I submitted this pull request.

Issue link: #714
I've provided necessary explanations at the location where the issue is located.

@ehsandeep ehsandeep changed the base branch from main to dev January 4, 2024 20:04
Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

@Serhatcck can you please rebase the PR from dev branch for further review!

@Serhatcck
Copy link
Author

Serhatcck commented Jan 5, 2024

Hi @ehsandeep. I rebase at this address: #717

@Mzack9999
Copy link
Member

@Serhatcck I'm closing this PR as it seems the most up to date is #717

@Mzack9999 Mzack9999 closed this Mar 19, 2024
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.

None yet

3 participants