Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ func TestDBUnbondingLocks(t *testing.T) {
return
}
if len(unbondingLocks) != 2 {
t.Error("Unxpected number of unbonding locks after deletion; expected 2, got", len(unbondingLocks))
t.Error("Unexpected number of unbonding locks after deletion; expected 2, got", len(unbondingLocks))
return
}

Expand Down
2 changes: 1 addition & 1 deletion discovery/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (o *orchestratorPool) GetOrchestrators(ctx context.Context, numOrchestrator
cutoffTimer := time.NewTimer(maxGetOrchestratorCutoffTimeout)
defer cutoffTimer.Stop()

// try to wait for orchestrators until at least 1 is found (with the exponential backoff timout)
// try to wait for orchestrators until at least 1 is found (with the exponential backoff timeout)
timeout := o.discoveryTimeout
timer := time.NewTimer(timeout)

Expand Down
2 changes: 1 addition & 1 deletion media/whip_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ func TestConcurrentOperations(t *testing.T) {
for i := 0; i < numGoroutines; i++ {
go func(i int) {
defer wg.Done()
assert.Nil(t, conn.AwaitClose(), "expcted await close to not return an error")
assert.Nil(t, conn.AwaitClose(), "expected await close to not return an error")
}(i)
}

Expand Down
2 changes: 1 addition & 1 deletion server/broadcast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ func TestVerifier_SegDownload(t *testing.T) {
assert.Nil(err)
assert.True(downloaded[url])

// When segments are not in the broadcaster's exernal OS, segments should be downloaded
// When segments are not in the broadcaster's external OS, segments should be downloaded
url = "somewhere4"
cxn.sessManager = bsmWithSessList([]*BroadcastSession{genBcastSess(ctx, t, url, externalOS, mid)})
_, _, err = transcodeSegment(context.TODO(), cxn, seg, "dummy", verifier, nil)
Expand Down
2 changes: 1 addition & 1 deletion server/job_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ func processJob(ctx context.Context, h *lphttp, w http.ResponseWriter, r *http.R

if payment.TicketParams == nil {

//if price is not 0, comfirm balance
//if price is not 0, confirm balance
if jobPriceRat.Cmp(big.NewRat(0, 1)) > 0 {
minBal := jobPriceRat.Mul(jobPriceRat, big.NewRat(60, 1)) //minimum 1 minute balance
orchBal := getPaymentBalance(orch, sender, jobId)
Expand Down
2 changes: 1 addition & 1 deletion trickle/trickle_publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (c *TricklePublisher) Next() (*pendingPost, error) {

func (p *pendingPost) reconnect() (*pendingPost, error) {
// This is a little gnarly but works for now:
// Set the publisher's sequence sequence to the intended reconnect
// Set the publisher's sequence to the intended reconnect
// Call publisher's preconnect (which increments its sequence)
// then reset publisher's sequence back to the original
// Also recreate the client to force a fresh connection
Expand Down