Skip to content

Commit 7d18372

Browse files
committed
remove cycle
1 parent 8a21ae4 commit 7d18372

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mongo/options/gridfsoptions.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ package options
99
import (
1010
"time"
1111

12-
"github.com/mongodb/mongo-go-driver/mongo/gridfs"
1312
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
1413
"github.com/mongodb/mongo-go-driver/mongo/readpref"
1514
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
@@ -20,7 +19,7 @@ import (
2019
var DefaultName = "fs"
2120

2221
// DefaultChunkSize is the default size of each file chunk in bytes.
23-
var DefaultChunkSize = gridfs.DefaultChunkSize
22+
var DefaultChunkSize int32 = 255 * 1024 // 255 KiB
2423

2524
// DefaultRevision is the default revision number for a download by name operation.
2625
var DefaultRevision int32 = -1

0 commit comments

Comments
 (0)