Commit Graph

34 Commits

Author SHA1 Message Date
Derrick Hammer d628ede1ee
fix: use maxStoragePrice 2024-03-10 14:48:09 -04:00
Derrick Hammer 9d17ae1065
fix: don't compute maxRPCPrice based on usd rate 2024-03-10 14:42:00 -04:00
Derrick Hammer 01cd30b6f8
fix: divide maxRPCPrice by 1 million 2024-03-10 14:38:59 -04:00
Derrick Hammer 6eeed24707
fix: need to divide maxStoragePrice by a tib unit 2024-03-10 14:33:46 -04:00
Derrick Hammer af29081a3a
refactor: have rpc and contract prices be in SC as they are expected to change very rarely 2024-03-10 14:26:17 -04:00
Derrick Hammer 1568aa9007
fix: redundancy applies to storage not downloads, and add debug logging per rate computed 2024-03-10 14:14:36 -04:00
Derrick Hammer 5687e72a32
refactor: change SCPriceHistory table name 2024-03-10 13:58:45 -04:00
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