-
Notifications
You must be signed in to change notification settings - Fork 46
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
[RSDK-8666] Use Stoppable Workers #408
Open
bashar-515
wants to merge
37
commits into
viamrobotics:main
Choose a base branch
from
bashar-515:RSDK-8666-part-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
5a92489
add TODO comments
bashar-515 99c5ece
lint
bashar-515 c8a02cf
use stoppable workers in constructor with ticker
bashar-515 80eb5df
use stoppable workers when initiating offer
bashar-515 2fd4869
replace activeBackgroundWorkers
bashar-515 7a7b604
no longer store context
bashar-515 b59f413
remove lock in constructor
bashar-515 7a86540
use stoppable workers in webRTC server
bashar-515 e57158a
no longer store context and cancel function in webRTC server
bashar-515 642c943
remove context comments
bashar-515 d46bd50
remove TODO comment
bashar-515 0b5c310
add stoppable workers to mongoDB webRTC call queue
bashar-515 41309b6
use only stoppable workers throughout constructor
bashar-515 54731bc
use only stoppable workers in SendOfferInit
bashar-515 20566aa
restore wrtc_call_queue_mongodb.go file
bashar-515 b2d328c
add StoppableWorkers to mongoDBWebRTCCallQueue struct
bashar-515 fe3a863
fix nil point error
bashar-515 d29f0e8
use StoppableWorkers throughout constructor
bashar-515 fac6086
no longer wrap functions passed to StoppableWorkers.Add()
bashar-515 ba8ce89
bring back lock
bashar-515 297739d
use func() wrappers again
bashar-515 2dc6cc5
comment out use of StoppableWorkers in constructor and use StoppableW…
bashar-515 58458a9
lint
bashar-515 c2a4c08
use StoppableWorkers in RecvOffer()
bashar-515 fcf72dd
lint
bashar-515 8fd687a
use StoppableWorkers in the rest of RecvOffer()
bashar-515 3a5e3c7
use StoppableWorkers in part of constructor
bashar-515 cc4887d
use StoppableWorkers when calling ChangeStreamManager()
bashar-515 d6d8aa2
lint
bashar-515 ef5b3d3
use StoppableWorkers when calling operatorLivenessLoop()
bashar-515 657a560
add TODO comment
bashar-515 31001ec
omit for-loop
bashar-515 454d29f
replace one more PanicCapturingGo() call
bashar-515 b203203
use StoppableWorkers in constructor
bashar-515 8a66f53
Revert "use StoppableWorkers in constructor"
bashar-515 0840eba
no longer store context in struct
bashar-515 7eb91ef
lint
bashar-515 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
Oops, something went wrong.
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.
:/
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.
The liveness loop is racing? Could you follow up with me offline about what the race looks like?