Alex Sharov
a4034d5cea
enable more linters ( #954 )
2023-03-25 05:13:20 +00:00
Alex Sharov
f110e80dab
go 1.19 atomics ( #951 )
2023-03-23 05:11:20 +00:00
Alex Sharov
a5ebd0c5ff
torrent: suppress some warning ( #941 )
2023-03-17 03:53:30 +00:00
Alex Sharov
335efa7d12
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway ( #938 )
2023-03-14 08:41:43 +00:00
Alex Sharov
474982ecaf
torrent: don't cancel storage, because lib can't handle such error and can graceful-shutdown anyway ( #937 )
2023-03-14 08:40:30 +00:00
Alex Sharov
460699ca6b
Downloader main loop wait on close ( #931 )
2023-03-13 02:12:26 +00:00
Alex Sharov
f985e94553
--torrent.staticpeers ( #923 )
2023-03-08 08:29:42 +00:00
Alex Sharov
3bb18282be
downloader: suspend cancelation warning ( #899 )
2023-02-22 04:30:29 +00:00
Alex Sharov
565acd3624
e3: read files list from db ( #885 )
2023-02-13 05:16:58 +00:00
Alex Sharov
3e933bc456
Downloader: "incomplete" markers are more important than "complete", so commit them with fsync ( #883 )
...
On power-off recent "no-sync" txs may be lost. It will cause 2. cases:
- Good piece on disk and recent "complete" db marker lost. Self-Heal by
re-download.
- Bad piece on dis and recent "incomplete" db marker lost. No Self-Heal.
So, can't afford loosing recent "incomplete" markers.
2023-02-10 13:20:13 +07:00
Alex Sharov
27c56f2de8
Torrent: reduce network chunk, some routers are unhappy ( #829 )
2023-01-11 13:30:13 +07:00
Max Revitt
3833e2503b
hotfix(downloader): detect ipv6 only on linux #6117 ( #745 )
...
Prevent port scan warnings on Hetzner and potentially other hosting
providers by only detecting ipv6 for linux by reading from
/sys/module/ipv6/parameters/disable
2022-11-24 20:43:41 +07:00
Alex Sharov
0eb4f8388a
Downloader extract, step2 ( #739 )
2022-11-20 10:41:20 +07:00