Skip to content

Commit

Permalink
Prolong wait time for shutdown
Browse files Browse the repository at this point in the history
The default was 90s[1], prolong to 30 mins.
From the discussion in [2], ~2k torrents took 5 mins to completely
shutdown. Here we wait at most 30 mins which scales to about 12k
torrents which should cover most use case (also note that 4.3.x series
is mentioned to have even shorter shutdown time).

[1] https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html#DefaultTimeoutStartSec=
[2] qbittorrent#15381 (comment)

PR qbittorrent#15414.
  • Loading branch information
Chocobo1 committed Sep 4, 2021
1 parent f2912c1 commit 615b76f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/unix/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Type=simple
PrivateTmp=false
User=%i
ExecStart=@EXPAND_BINDIR@/qbittorrent-nox
TimeoutStopSec=1800

[Install]
WantedBy=multi-user.target

0 comments on commit 615b76f

Please sign in to comment.