-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Enhanced Data Collection and Response Time for SendWork and Twit…
…ter (#471) * scraper tests * scrape test * handling worker errors, adding unit testing for 429 * added worker category and method in node data per bob to get capabilities * updated get twitter trends * merge * local test * testing *twitterscraper.TweetResult * added missing cfg.TelegramScraper check * fix: update timeout to 10 seconds and update worker selection to n=3 * fix: linting flags * fix: linting in scrape_test.go * fix: update sendWork to have a lower timeout than the hander timeout * merge conflict * modified error message to include peer id re processing * Implement adaptive timeouts based on historical node performance in node tracker * finished 429 unit test scrape_test and sending tweets error back to trigger worker timeout check * updated timeout to 16 min * collecting err in twitter calls into Tweet struct, err will be in idx 0 * parsing error for local and remote separately * formatting error * moved workertimeoutcheck to candowork * removed notes * removed obsoleted struct and commented code * tests * added cleanupStalePeers feat * added responseCollector <- &pubsub2.Message{} when local worker hangs * checking peerid for empty * logging for nd parse err * fixing panic on multiaddr issue in addorupdatenodedata * dont remove self * added error message in sendwork to Set WorkerTimeout for the node * checking response for proper error msg * checking response for proper error msg --------- Co-authored-by: Brendan Playford <[email protected]> Co-authored-by: J2D3 <[email protected]>
- Loading branch information
1 parent
b212ff7
commit 5aa99ab
Showing
18 changed files
with
542 additions
and
85 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
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
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
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
Oops, something went wrong.