Skip to content

Commit

Permalink
change default peer port range #49
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Apr 16, 2022
1 parent 2fc54c8 commit a3bbb9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torrent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ var DefaultConfig = Config{
Database: "~/rain/session.db",
DataDir: "~/rain/data",
DataDirIncludesTorrentID: true,
PortBegin: 50000,
PortEnd: 60000,
PortBegin: 20000,
PortEnd: 30000,
MaxOpenFiles: 10240,
PEXEnabled: true,
ResumeWriteInterval: 30 * time.Second,
Expand Down

0 comments on commit a3bbb9a

Please sign in to comment.