Skip to content

Commit

Permalink
[skip changelog] staticcheck fixes / remove ununsed variables (#730)
Browse files Browse the repository at this point in the history
staticcheck fixes / remove ununsed variables
  • Loading branch information
hsanjuan authored Nov 27, 2024
1 parent cdefbf2 commit 970dcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bitswap/internal/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
)

const (
// these requests take at _least_ two minutes at the moment.
ProvideTimeout = time.Minute * 3
// ProvSearchDelay specifies how long to wait before we start
// broadcasting outstanding wants for the first time.
ProvSearchDelay = time.Second

// Number of concurrent workers in decision engine that process requests to the blockstore
Expand Down
2 changes: 1 addition & 1 deletion chunker/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestParseRabin(t *testing.T) {

_, err := FromString(r, "rabin-18-25-32")
if err != nil {
t.Errorf(err.Error())
t.Error(err.Error())
}

_, err = FromString(r, "rabin-15-23-31")
Expand Down

0 comments on commit 970dcb3

Please sign in to comment.