-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make state/transmit configurable + polling state (#124)
* standardize rpc commitment + move preflight check to parameter * add SkipPreflight to spec * make commitment level configurable * fix relay test cases * update monitoring with fetching state changes * update e2e test with state fetching change * preliminary polling - need test case, polling configurability * polling test case * add state polling to start up * remove blocking calls on state fetching * lint fixes * use utils.StartStopOnce * fix lint: pass lock by value * use ContextFromChanWithDeadline * initial race condition fixes * add parameters to relay config * update libocr to 5d2b1d5f424ba9183c4240ed4a6062141c82c7b5 * add RWMutex to prevent race conditions * fix rebase damage * include preliminary state timeout error * make stale timeout configurable, default to skip preflight * go fmt * add new params to simple job spec * fix commitment typo * feedback fixes: fix comment, block close until loop exits, etc * add polling jitter
- Loading branch information
Showing
14 changed files
with
347 additions
and
418 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
Oops, something went wrong.