Skip to content

Commit

Permalink
feat: add adds pin (#268)
Browse files Browse the repository at this point in the history
* feat[bittorrent]: listen port from 30000 to 31000

* fix: add adds pin
  • Loading branch information
Shawn-Huang-Tron authored Nov 25, 2022
1 parent 17250a9 commit 61cfc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/bittorrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ var downloadBTCmd = &cmds.Command{
}

btfsBinaryPath := "btfs"
cmd := exec.Command(btfsBinaryPath, "add", "-r", t.Name())
cmd := exec.Command(btfsBinaryPath, "add", "-r", "--pin", t.Name())

go func() {
time.Sleep(10 * time.Minute)
Expand Down

0 comments on commit 61cfc9a

Please sign in to comment.