-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUTCH-3072 Fetcher to stop QueueFeeder if aborting with "hung threads"
- Fetcher signals QueueFeeder (via FetchItemQueues) to stop queuing and waits 1.5 seconds for this to happen - QueueFeeder (if still alive) discards remaining items with QueuingStatus "HIT_BY_TIMEOUT" - add number of items skipped by QueueFeeder to "FetcherStatus" counters - mark variables defined in FetchItemQueues but accessed from QueueFeeder thread as "volatile" - minor code cleanups
- Loading branch information
1 parent
b02340d
commit f5b9ace
Showing
3 changed files
with
68 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters