Opened 5 years ago

Closed 21 months ago

#1686 closed defect (duplicate)

i2psnark: Autostart starts all torrents

Reported by: zzz Owned by: dg
Priority: minor Milestone: 0.9.42
Component: apps/i2psnark Version: 0.9.22
Keywords: Cc:
Parent Tickets: #2120 Sensitive: no


The intent of the fix for #766 is that, when autostart is enabled, snark will automatically start only the torrents that were running before, i.e. those with running=true in the torrent config file. However, all torrents are started. So either it broke after #766 was resolved, or there's something special in my setup.

Steps to reproduce:

  • Click stop-all
  • Wait a minute
  • Verify all torrents have configured running=false (grep running ~/.i2p/i2psnark.config.d/*/*)
  • Graceful restart router
  • 3 minutes after router restart, all torrents will be running

Expected result: No torrents running

Actual result: All torrents running

Router version: 0.9.22-18


Change History (5)

comment:1 Changed 5 years ago by Eche|on

Ok, did a upgrade 0.9.22-16 to 0.9.22-20 and after restart, all torrents were started. But before only 5 were active.
Not what I expected.

comment:2 Changed 5 years ago by dg

Milestone: undecided0.9.23
Owner: changed from zzz to dg
Status: newaccepted

Looking into it.

comment:3 Changed 5 years ago by zzz


deferred to 0.9.24

comment:4 Changed 4 years ago by slumlord

I think I recall some inconsistent torrent start/stop states at the last restart. I will remember to test this should I restart before the next release.

comment:5 Changed 21 months ago by zzz

Parent Tickets: 2120
Resolution: duplicate
Sensitive: unset
Status: acceptedclosed

Delegated to #2120

Note: See TracTickets for help on using tickets.