Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #168 from felixbrucker/feature/limit-shard-size
Browse files Browse the repository at this point in the history
Add maxShardSize option
  • Loading branch information
aleitner authored Jun 19, 2017
2 parents 8d63a34 + a24f629 commit faa322c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/farmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ let farmerState = {

config.keyPair = new storj.KeyPair(config.networkPrivateKey);
config.logger = new Logger(config.loggerVerbosity);
config.maxShardSize = config.maxShardSize ? bytes.parse(config.maxShardSize) : null;
config.storageManager = new storj.StorageManager(
new storj.EmbeddedStorageAdapter(config.storagePath),
{
Expand Down

0 comments on commit faa322c

Please sign in to comment.