Skip to content

Commit 51ac9da

Browse files
committed
drive.db.core download entire content
1 parent 3cb5534 commit 51ac9da

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/seed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = async function seed(cmd) {
5151
key: 'contentKey',
5252
label: appendMode ? `${ansi.gray('...')} content key` : 'Content Key:',
5353
initial: loading,
54-
transform: (v) => ansi.gray(v)
54+
transform: (v) => (v === undefined ? ansi.yellow('loading...') : ansi.gray(v))
5555
},
5656
{
5757
key: 'firewalled',

subsystems/sidecar/ops/seed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = class Seed extends Opstream {
101101

102102
await replicator.join(this.sidecar.swarm, { server: true, client: true })
103103

104-
await drive.get('/package.json')
104+
drive.db.core.download({ start: 0, end: -1 })
105105

106106
this._statsInterval = setInterval(() => {
107107
this.push(this._stats({ drive }))

0 commit comments

Comments
 (0)