Skip to content

Allow to differentiate between queue sizes in Frontier#60

Open
EgbertW wants to merge 1 commit intoyasserg:masterfrom
EgbertW:queue-size
Open

Allow to differentiate between queue sizes in Frontier#60
EgbertW wants to merge 1 commit intoyasserg:masterfrom
EgbertW:queue-size

Conversation

@EgbertW
Copy link
Copy Markdown
Contributor

@EgbertW EgbertW commented May 20, 2015

Note: I recently discovered that you moved from google code to Github. I've been using and modifying crawlerj4 for a while now and now I'm able to submit pull requests to allow you to merge them. I rebased all my (relevant) patches on the new master, so they should be easy to merge. I hope you consider some or all of them useful.

Description of this patch:
Allow to differentiate between queue sizes in Frontier: WORK_QUEUE, IN_PROGRESS_QUEUE or WORK_QUEUE | IN_PROGRESS_QUEUE. I was in eed of a reliable method to get the combined size of the work queue and the inProgressQueue, without the risk of either of them changing in between the requests. Hence this method.

IN_PROGRESS_QUEUE or WORK_QUEUE | IN_PROGRESS_QUEUE
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.

1 participant