Skip to content

Commit

Permalink
unixfs: remove unused ShardSplitThreshold variable
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lucas Molas <[email protected]>
  • Loading branch information
schomatis committed Jul 9, 2018
1 parent 7d531c0 commit c47cd13
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions unixfs/io/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import (
cid "gx/ipfs/QmapdYm1b22Frv3k17fqrBYTFRxwiaVJkB299Mfn33edeB/go-cid"
)

// ShardSplitThreshold specifies how large of an unsharded directory
// the Directory code will generate. Adding entries over this value will
// result in the node being restructured into a sharded object.
var ShardSplitThreshold = 1000

// UseHAMTSharding is a global flag that signifies whether or not to use the
// HAMT sharding scheme for directory creation
var UseHAMTSharding = false
Expand Down

0 comments on commit c47cd13

Please sign in to comment.