I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  • zzz's avatar
    0826f431
    i2psnark standalone: Fixes for router startup and shutdown · 0826f431
    zzz authored
    so that torrents stop when the router stops and restart when the router restarts.
    
    - Use BWLimits from the DirMonitor as a periodic test that the router is there
    - DirMonitor does not attempt to autostart torrents if BWLimits test fails
    - DirMonitor does autostart existing torrents when BWLimits test passes again
    - Register disconnect listener with socket manger and stop all torrents on disconnect
    - Use stopTorrent(true) on router errors to prevent changing the persisted torrent running status
    - Change autostart default to true for standalone
    
    Possibly more todo for corner cases or other start/stop/fail scenarios.
    i2psnark standalone: Fixes for router startup and shutdown
    zzz authored
    so that torrents stop when the router stops and restart when the router restarts.
    
    - Use BWLimits from the DirMonitor as a periodic test that the router is there
    - DirMonitor does not attempt to autostart torrents if BWLimits test fails
    - DirMonitor does autostart existing torrents when BWLimits test passes again
    - Register disconnect listener with socket manger and stop all torrents on disconnect
    - Use stopTorrent(true) on router errors to prevent changing the persisted torrent running status
    - Change autostart default to true for standalone
    
    Possibly more todo for corner cases or other start/stop/fail scenarios.
java NaN GiB