Opened 3 years ago

#2350 new defect

I2PSnark loses torrent download priority when power interrupted

Reported by: YesYesYes well maybe Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.37
Keywords: I2PSnark, torrent Priority, Preferences, logging Cc:
Parent Tickets: Sensitive: no


I2PSnark loses torrent download priority when power interrupted. To detail further so that you know exactly what I'm talking about. If you set a priority for a certain magnet file to download at high priority or low priority and the power goes off immediately shutting down the computer the preferences are lost. It seems that preferences are stored when I2P is shut down properly and isn't stored when it's abruptly shut down. It would be nice if preferences to download high or low or normal were saved immediately when selected so as not to be lost if power is interrupted. Most of the time this is not a big deal but when you have a large torrent of books or music and you only want a few of them it can take a while to go through them all over again selecting only the ones you want. If the priority is to be saved it wouldn't hurt to do so immediately anyways.

A second thing that would be nice to have is save the preference of which torrents are actually running and which are paused. Change it so when shut off and then started back up have the same torrents running or paused the same as when you shut it off. Often because my downloads are so glacially slow I will line up torrents and then pause them to keep from overloading my mickey mouse, Chiclets internet service. When I have to restart, because it sucks so bad, all of them are running and I have to quickly turn off the ones not needed to run immediately. If I don't act quickly enough it bogs the whole thing down.

I2P version: 0.9.37-0

Java version: Oracle Corporation 1.8.0_181 (Java™ SE Runtime Environment 1.8.0_181-b13)
Wrapper version: none
Server version: 9.2.25.v20180606
Servlet version: Jasper JSP 2.3 Engine
JSTL version: standard-taglib 1.2.0
Platform: Windows 7 x86 6.1
Processor: Phenom II / Opteron Gen 3 (Shanghai/Deneb/Heka/Callisto?, 45 nm) (k10)
JBigI status: Locally optimized library jbigi-windows-k10.dll loaded from file
GMP version: 6.0.0
JBigI version: 3
JCpuId version: 3
Encoding: Cp1252
Charset: windows-1252
Built By: zzz


Change History (0)

Note: See TracTickets for help on using tickets.