Skip to content

Commit

Permalink
Expose corestore cacheSize option
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewosh committed Aug 30, 2020
1 parent 27062cd commit 7312495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = class Hyperspace extends Nanoresource {

const corestoreOpts = {
storage,
cacheSize: opts.cacheSize,
sparse: opts.sparse !== false,
// Collect networking statistics.
stats: true,
Expand Down

0 comments on commit 7312495

Please sign in to comment.