Commit Graph

115 Commits

Author SHA1 Message Date
Ben Sarmiento
53c71b1249 Repair logger 2024-05-25 05:45:50 +02:00
Ben Sarmiento
abb80b4257 Check for other broken files when repairing 2024-05-25 01:51:00 +02:00
Ben Sarmiento
0a086d7a14 Prevent duplicates 2024-05-25 01:24:24 +02:00
Ben Sarmiento
bb316a1bfd Allow repairing file from ok state 2024-05-24 18:12:32 +02:00
Ben Sarmiento
7695412b22 Ignore errors when marking torrent as repaired (also mute warnings when under repair) 2024-05-24 18:00:46 +02:00
Ben Sarmiento
fbd5ccbf4a Fix repair fsm 2024-05-24 17:38:39 +02:00
Ben Sarmiento
9ecbb5d892 Remove components, do downloaded ids ; support dumps 2024-05-24 02:24:26 +02:00
Ben Sarmiento
beba993364 Add bins 2024-05-23 22:20:19 +02:00
Ben Sarmiento
8636a0569d Repair works now 2024-05-23 21:45:20 +02:00
Ben Sarmiento
d03b59bb2a Fixers 2024-05-23 19:29:16 +02:00
Ben Sarmiento
2a5f12e37f Remove fixer concept 2024-05-22 04:27:12 +02:00
Ben Sarmiento
9990bf90ca Fix rewrites 2024-05-22 02:26:20 +02:00
Ben Sarmiento
a9cc689702 Repair fix 2024-05-21 19:56:20 +02:00
Ben Sarmiento
0743b01223 Rewrite state machines 2024-05-21 17:07:40 +02:00
Ben Sarmiento
6c24d74f61 Upkeep for data directory 2024-05-21 06:50:46 +02:00
Ben Sarmiento
2c5e7a1db0 Implement new fsm 2024-05-21 01:59:53 +02:00
Ben Sarmiento
d5dd9426ed Adjust file reads and writes 2024-05-20 22:57:20 +02:00
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