modules/ipfs: add datastore config
This commit is contained in:
parent
a567962809
commit
99b4c696ff
1 changed files with 19 additions and 0 deletions
|
@ -42,6 +42,25 @@ in {
|
|||
"/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb"
|
||||
"/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa"
|
||||
];
|
||||
Datastore = {
|
||||
BloomFilterSize = 0;
|
||||
GCPeriod = "1h";
|
||||
HashOnRead = false;
|
||||
NoSync = true;
|
||||
Spec = {
|
||||
mounts = [];
|
||||
child = {
|
||||
path = "badgerds";
|
||||
syncWrites = false;
|
||||
truncate = true;
|
||||
type = "badgerds";
|
||||
};
|
||||
prefix = "badger.datastore";
|
||||
type = "measure";
|
||||
};
|
||||
StorageGCWatermark = 90;
|
||||
StorageMax = "200GB";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue