Skip to content

Commit

Permalink
Transmission's exception update to change seed reboot behavior via th…
Browse files Browse the repository at this point in the history
…e startup command line. #683
  • Loading branch information
Ghost-chu committed Nov 5, 2024
1 parent 64dc987 commit e72eb0a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ private void relaunchTorrents(Collection<Long> ids) {

@Override
public void relaunchTorrentIfNeededByTorrentWrapper(Collection<TorrentWrapper> torrents) {
if(System.getProperty("pbh.transmission.disable-torrent-relaunch") != null) {
return;
}
relaunchTorrents(torrents.stream().filter(t -> {
try {
Long.parseLong(t.getId());
Expand Down

0 comments on commit e72eb0a

Please sign in to comment.