-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/threads #92
Merged
Merged
Feat/threads #92
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ license: Apache-2.0 | |
fingerprint: | ||
README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe | ||
fingerprint_ignore_patterns: [] | ||
agent: valory/impact_evaluator:0.1.0:bafybeif6lpdpuq2pcocmre4iswp6puraxrlib6b2ydzew2daboei6pduju | ||
agent: valory/impact_evaluator:0.1.0:bafybeihkdnfnqow7rejl2hqgtlsvg33nsa6ua5gfdrxkuznbypgpxqhbwa | ||
number_of_agents: 4 | ||
deployment: | ||
agent: | ||
|
@@ -80,7 +80,7 @@ extra: | |
termination_sleep: ${TERMINATION_SLEEP:int:900} | ||
reset_pause_duration: ${RESET_PAUSE_DURATION:int:300} | ||
on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:300} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:30} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Small config fix |
||
retry_attempts: 400 | ||
retry_timeout: 3 | ||
request_retry_delay: 1.0 | ||
|
@@ -146,7 +146,7 @@ extra: | |
termination_sleep: ${TERMINATION_SLEEP:int:900} | ||
reset_pause_duration: ${RESET_PAUSE_DURATION:int:300} | ||
on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:300} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:30} | ||
retry_attempts: 400 | ||
retry_timeout: 3 | ||
request_retry_delay: 1.0 | ||
|
@@ -212,7 +212,7 @@ extra: | |
termination_sleep: ${TERMINATION_SLEEP:int:900} | ||
reset_pause_duration: ${RESET_PAUSE_DURATION:int:300} | ||
on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:300} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:30} | ||
retry_attempts: 400 | ||
retry_timeout: 3 | ||
request_retry_delay: 1.0 | ||
|
@@ -280,7 +280,7 @@ extra: | |
keeper_allowed_retries: 3 | ||
reset_pause_duration: ${RESET_PAUSE_DURATION:int:300} | ||
on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:300} | ||
reset_tendermint_after: ${RESET_TENDERMINT_AFTER:int:30} | ||
retry_attempts: 400 | ||
retry_timeout: 3 | ||
request_retry_delay: 1.0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -607,15 +607,15 @@ class TwitterScoringAbciApp(AbciApp[Event]): | |
Event.DONE: TwitterDecisionMakingRound, | ||
Event.DONE_MAX_RETRIES: TwitterDecisionMakingRound, | ||
Event.API_ERROR: TwitterMentionsCollectionRound, | ||
Event.NO_MAJORITY: TwitterMentionsCollectionRound, | ||
Event.ROUND_TIMEOUT: TwitterMentionsCollectionRound, | ||
Event.NO_MAJORITY: TwitterRandomnessRound, | ||
Event.ROUND_TIMEOUT: TwitterRandomnessRound, | ||
}, | ||
TwitterHashtagsCollectionRound: { | ||
Event.DONE: TwitterDecisionMakingRound, | ||
Event.DONE_MAX_RETRIES: TwitterDecisionMakingRound, | ||
Event.API_ERROR: TwitterHashtagsCollectionRound, | ||
Event.NO_MAJORITY: TwitterHashtagsCollectionRound, | ||
Event.ROUND_TIMEOUT: TwitterHashtagsCollectionRound, | ||
Event.NO_MAJORITY: TwitterRandomnessRound, | ||
Event.ROUND_TIMEOUT: TwitterRandomnessRound, | ||
Comment on lines
+610
to
+618
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should select new keepers whenever we time out. I found an issue today where the service was stuck in a timeout loop. |
||
}, | ||
TweetEvaluationRound: { | ||
Event.DONE: TwitterDecisionMakingRound, | ||
|
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thread implementation: if the data passed is a list, we post it as a thread.