Skip to content

Commit

Permalink
feat: enable watch dog by default (#2905)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Ma <majinjing3@gmail.com>
  • Loading branch information
jim3ma authored Nov 29, 2023
1 parent b95e827 commit 9b251a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/config/peerhost_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var peerHostConfig = func() *DaemonOption {
CalculateDigest: true,
PieceDownloadTimeout: 30 * time.Second,
GRPCDialTimeout: 10 * time.Second,
WatchdogTimeout: 30 * time.Second,
GetPiecesMaxRetry: 100,
RecursiveConcurrent: RecursiveConcurrent{
GoroutineCount: 32,
Expand Down
1 change: 1 addition & 0 deletions client/config/peerhost_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var peerHostConfig = func() *DaemonOption {
CalculateDigest: true,
PieceDownloadTimeout: 30 * time.Second,
GRPCDialTimeout: 10 * time.Second,
WatchdogTimeout: 30 * time.Second,
GetPiecesMaxRetry: 100,
RecursiveConcurrent: RecursiveConcurrent{
GoroutineCount: 32,
Expand Down

0 comments on commit 9b251a8

Please sign in to comment.