Skip to content

Commit

Permalink
relax stuck torrent checker
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Mar 1, 2019
1 parent 5856bbf commit abb7208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torrent/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,8 @@ func (s *Session) StopAll() {
}

func (s *Session) checkTorrent(t *torrent) {
const interval = 5 * time.Second
const timeout = 30 * time.Second
const interval = 10 * time.Second
const timeout = 60 * time.Second
for {
select {
case <-time.After(interval):
Expand Down

0 comments on commit abb7208

Please sign in to comment.