Skip to content

Commit

Permalink
refactor: remove nolint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Sep 9, 2024
1 parent dc43c71 commit 57338c3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cmd/tuple/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ import (
"github.com/openfga/cli/internal/output"
)

// MaxTuplesPerWrite Limit the tuples in a single batch.
var MaxTuplesPerWrite = int32(1)
const (
// MaxTuplesPerWrite Limit the tuples in a single batch.
MaxTuplesPerWrite = 1

// MaxParallelRequests Limit the parallel writes to the API.
var MaxParallelRequests = int32(10) //nolint:mnd
// MaxParallelRequests Limit the parallel writes to the API.
MaxParallelRequests = 10
)

type failedWriteResponse struct {
TupleKey client.ClientTupleKey `json:"tuple_key"`
Expand Down

0 comments on commit 57338c3

Please sign in to comment.