Skip to content

Commit

Permalink
change default MaxOpenFiles config value
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Sep 24, 2019
1 parent f0ccc40 commit 4ade110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torrent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ var DefaultConfig = Config{
DataDirIncludesTorrentID: true,
PortBegin: 50000,
PortEnd: 60000,
MaxOpenFiles: 1000000,
MaxOpenFiles: 10240,
PEXEnabled: true,
ResumeWriteInterval: 30 * time.Second,
PrivatePeerIDPrefix: "-RN" + Version + "-",
Expand Down

0 comments on commit 4ade110

Please sign in to comment.