Commit Graph

148 Commits

Author SHA1 Message Date
Ben Sarmiento
a3a24124a8 Introduce components 2024-05-20 20:43:19 +02:00
Ben Sarmiento
ae94252156 Fix logic of fetching torrents 2024-05-06 10:48:01 +02:00
Ben Sarmiento
b6b59b22e6 Repair adjustments 2 2024-05-01 14:06:54 +02:00
Ben Sarmiento
130cc0d7b3 100 broken files at a time 2024-04-30 06:13:21 +02:00
Ben Sarmiento
60c0a90899 Update error message 2024-04-30 05:05:34 +02:00
Ben Sarmiento
a3bc9e75f5 Repair adjustments 2024-04-30 03:41:20 +02:00
Ben Sarmiento
102512f7d3 Refactor torrent fetching 2024-04-30 00:16:38 +02:00
Ben Sarmiento
96fd72ba88 Repair adjustments 2024-04-28 11:06:01 +02:00
Ben Sarmiento
2ff754e06e Change some logs 2024-04-19 11:41:12 +02:00
Ben Sarmiento
6d7c639125 Do not unrestrict files that are marked as broken until it is fixed 2024-02-20 11:32:48 +01:00
Ben Sarmiento
511dfbb38b Full selection is broken, dont redownload it 2024-02-17 12:41:59 +01:00
Ben Sarmiento
46e07f71c4 Fix retries on req body reads 2024-02-17 06:34:36 +01:00
Ben Sarmiento
041e02816b Handle differently if all are broken 2024-02-17 04:22:50 +01:00
Ben Sarmiento
0eeb295c23 Use go functions instead of the worker pool 2024-02-07 13:39:13 +01:00
Ben Sarmiento
f42aad3c33 Remove invocation log 2024-02-07 11:17:13 +01:00
Ben Sarmiento
58332a354b Delete in progress fixers 2024-02-05 12:59:55 +01:00
Ben Sarmiento
bc67dc2d5d Remove redundant log 2024-02-05 03:51:12 +01:00
Ben Sarmiento
c8bbfc8650 Prevent race condition with downloaded id 2024-02-05 03:27:45 +01:00
Ben Sarmiento
6726b1e54e Fix the fixer 2024-02-05 00:42:28 +01:00
Ben Sarmiento
0649a083bd Small tweak to repair 2024-02-01 20:39:12 +01:00
Ben Sarmiento
4c9b54c01c Fix possible issues 2024-01-31 18:08:48 +01:00
Ben Sarmiento
7794e641ab Reunify workers, add commands 2024-01-30 16:27:12 +01:00
Ben Sarmiento
108607b4dd Rework repairs again 2024-01-30 02:06:39 +01:00
Ben Sarmiento
b505400f60 Reimplement deletes and marking files as broken 2024-01-29 22:28:27 +01:00
Ben Sarmiento
60c2d8cac2 Fix link reassignment 2024-01-29 03:40:01 +01:00
Ben Sarmiento
901bfdb1a6 Add more logging 2024-01-29 01:54:05 +01:00
Ben Sarmiento
15a24a58a2 Support rebooting workers 2024-01-28 23:04:39 +01:00
Ben Sarmiento
573cfa1436 Add utils 2024-01-28 20:20:33 +01:00
Ben Sarmiento
0678af2bc2 Remove annoying logs 2024-01-28 18:27:39 +01:00
Ben Sarmiento
30dc080dba Create repair queue 2024-01-28 03:20:58 +01:00
Ben Sarmiento
f07b65d5da its the fastest ever 2024-01-28 02:23:19 +01:00
Ben Sarmiento
ce4b794098 Add context deadline to request 2024-01-27 21:09:00 +01:00
Ben Sarmiento
1aabcfd322 Refactor file links and merges 2024-01-27 17:38:26 +01:00
Ben Sarmiento
1913498cbe Change defaults 2024-01-27 16:47:05 +01:00
Ben Sarmiento
b44f2a4b63 saveTorrentChangesToDisk when relevant 2024-01-27 16:32:50 +01:00
Ben Sarmiento
a851282b2a periodic repair 2024-01-27 14:14:11 +01:00
Ben Sarmiento
05d2544fe8 Refactor workers 2024-01-27 13:17:45 +01:00
Ben Sarmiento
e01622064d Consider file case when doing filename comparisons 2024-01-27 11:54:28 +01:00
Ben Sarmiento
49b524ada6 Clear brokenlinks 2024-01-27 00:02:52 +01:00
Ben Sarmiento
52046cb3db Rigorous fix check 2024-01-26 22:51:08 +01:00
Ben Sarmiento
29a11ec286 Infinite repair fix 2024-01-26 16:47:54 +01:00
Ben Sarmiento
d2b69f9759 Init torepair set properly 2024-01-26 13:05:37 +01:00
Ben Sarmiento
58b0b8b917 Remove link on repair 2024-01-26 12:59:00 +01:00
Ben Sarmiento
92a507c693 Rework repair logic 2024-01-26 08:36:30 +01:00
Ben Sarmiento
52a31abe35 Fix duplication 2024-01-24 12:23:50 +01:00
Ben Sarmiento
2b6f0f95a8 Add logs for what is added on repair list 2024-01-24 06:23:39 +01:00
Ben Sarmiento
ec1aad6733 Do not repair if uncached check fails 2024-01-24 01:41:59 +01:00
Ben Sarmiento
6cd9db58d2 Surefire way of no dupes 2024-01-22 22:36:29 +01:00
Ben Sarmiento
9a7d96b21f Fix repair done check 2024-01-20 16:38:09 +01:00
Ben Sarmiento
bf70aad909 Fix issues on unplayable 2024-01-20 15:04:58 +01:00