Commit Graph

27 Commits

Author SHA1 Message Date
Derrick Hammer e425c038e1
fix: use config PriceHistoryDays 2024-03-10 13:56:41 -04:00
Derrick Hammer effb341418
refactor: don't block price updates, but do fatal on error 2024-03-10 13:52:49 -04:00
Derrick Hammer 8c05180703
refactor: move price tracker init to a lifecycle 2024-03-10 13:29:43 -04:00
Derrick Hammer 21ae6d093d
refactor: fetch redundancy settings and divide on it so price is always the total 2024-03-10 13:25:33 -04:00
Derrick Hammer c9683453c0
feat: add RedundancySettings getter 2024-03-10 13:13:25 -04:00
Derrick Hammer ae178f003f
refactor: put sia config under storage 2024-03-10 13:07:44 -04:00
Derrick Hammer dd296bd78a
feat: add initial price tracker 2024-03-10 12:43:18 -04:00
Derrick Hammer 736dc8aa9d
refactor: simplify sia upload to not try to parallel process as it corrupts data. We will come back to this optimization in the future. 2024-03-10 11:54:32 -04:00
Derrick Hammer 887f51f88d
fix: need to set upload id on siaUpload 2024-03-09 14:45:31 -05:00
Derrick Hammer 0df51358d6
chore: add todo 2024-03-05 12:59:52 -05:00
Derrick Hammer 454deeae21
refactor: change renter UploadObjectMultipart to use a db table like we do with s3 to track multipart uploads persistently and generically so we can resume later 2024-03-01 20:42:42 -05:00
Derrick Hammer d618f08275
refactor: rename RetryableTask to RetryableJob 2024-02-25 07:49:22 -05:00
Derrick Hammer 939e329591
fix: need to update config management in renter pkg 2024-02-22 03:23:06 -05:00
Derrick Hammer 901c68fdfc
refactor: have the forward slash always prefixed at the renter abstraction 2024-02-18 03:30:42 -05:00
Derrick Hammer f73ad52864
feat: add support for resuming an existing upload 2024-02-17 06:37:58 -05:00
Derrick Hammer c534162d6c
feat: add DeleteObject 2024-02-16 21:59:02 -05:00
Derrick Hammer d7da471b8b
refactor: update parameters and change MultipartUpload to UploadObjectMultipart 2024-02-16 21:58:44 -05:00
Derrick Hammer a3846a8e07
fix: etag has to be provided to multipart complete 2024-02-01 21:14:44 -05:00
Derrick Hammer 9063a80f8c
fix: need to use partNumber in MultipartCompletedPart 2024-02-01 19:35:05 -05:00
Derrick Hammer 5456773b81
fix: need to use a part number that is 1 indexed based 2024-02-01 19:32:06 -05:00
Derrick Hammer dc9b3b4fda
fix: add error handler if we max out our retries 2024-02-01 19:26:23 -05:00
Derrick Hammer 9825c904da
fix: remove defer chan close 2024-02-01 19:15:02 -05:00
Derrick Hammer d15ec4e81e
fix: need the reader to be created and closed inside the task 2024-02-01 19:02:24 -05:00
Derrick Hammer 0a6efaf0e3
fix: cron needs to be set on renter 2024-02-01 18:33:17 -05:00
Derrick Hammer 8abc41e46f
fix: pass by ref 2024-02-01 18:25:32 -05:00
Derrick Hammer 15b527933f
feat: implement initial version of multipart uploads 2024-02-01 02:03:04 -05:00
Derrick Hammer aff6e8106c
refactor: split renter methods to a dedicated renter service 2024-01-31 21:27:38 -05:00