HelloZeroNet / HelloZeroNet/ZeroNet

Always finish pinned big files

オープン
#1,681 コメント 0 件 リアクション 6 件 担当者 1 名 @HelloZeroNet が担当を希望しています GitHub で見る
enhancement
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

# Why?

Currently if you start downloading a big file it will give up on the unreachable parts after a while (30 retry). This could be problematic for files where the seeder is not online 24/7.

# How?

Don't remove big file parts from download queue if the file is pinned.

# Problem: Garbage collection

Currently all big files larger than 20MB automatically got pinned to avoid automatic deletion and to exclude it from optional file garbage collection.

## Solution

Exclude all files from garbage collection limit and automatic deletion larger than 20MB even if it's not pinned.

# Plan

- [x] Exclude all files larger than 20MB from automatic deletion and garbage collection limit
- [x] Don't pin big files larger than 20MB automatically
- [x] Don't expire download tasks of pinned big files
- [x] Don't delete pinned files if the site owner removed it
- [ ] List of big files that deleted by the site, but still on the HDD
- [x] Modify ZeroUP to pin files on seed button click
- [x] Allow to filter to pinned files
- [x] Also list pinned and downloading optional files on "Seeding" tab of ZeroUp
- [ ] Fix initial seed number query on ZeroUp
- [ ] Fix Nan peer number of ZeroUp (no file info due 1000 limit on optionalFileList)
- [x] Reset bigfile retry number if one piece is done

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。