Commit Graph

931 Commits

Author SHA1 Message Date
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 c1915321e1
fix: if retry limit is reached pass the ErrRetryLimitReached error 2024-02-01 19:18:06 -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 9330bb36bf
fix: fix after and error functions 2024-02-01 18:51:05 -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 446e81ca19
fix: renter needs to be set on storage 2024-02-01 18:12:09 -05:00
Derrick Hammer 15b527933f
feat: implement initial version of multipart uploads 2024-02-01 02:03:04 -05:00
Derrick Hammer 95cfa393b4
fix: no need for singleton hack, use Replace not Decorate 2024-01-31 22:51:51 -05:00
Derrick Hammer 9a87004f31
fix: need to add lifecycle hook to start tusWorker 2024-01-31 21:28:31 -05:00
Derrick Hammer d88638dfc3
fix: need to invoke storage init to setup tus 2024-01-31 21:28:02 -05:00
Derrick Hammer aff6e8106c
refactor: split renter methods to a dedicated renter service 2024-01-31 21:27:38 -05:00
Derrick Hammer 6d34f5b683
refactor: change struct naming convention from "impl" to "default" 2024-01-31 20:29:27 -05:00
Derrick Hammer 8449b13a4a
dep: update libs5 2024-01-31 20:21:38 -05:00
Derrick Hammer 2de10a7401
feat: add cli switch fx-debug to disable our custom logger 2024-01-30 17:45:36 -05:00
Derrick Hammer 57c4a1ae7d
dep: update libs5 2024-01-30 17:26:52 -05:00
Derrick Hammer 7b24a2001c
dep: update libs5 2024-01-30 17:09:37 -05:00
Derrick Hammer e787efaa92
dep: update libs5 2024-01-30 16:54:47 -05:00
Derrick Hammer 8dec7fc75a
dep: update libs5 2024-01-30 16:07:58 -05:00
Derrick Hammer 56ddeef010
dep: update libs5 2024-01-30 16:01:31 -05:00
Derrick Hammer 791b291ce7
fic: add node init 2024-01-30 15:48:05 -05:00
Derrick Hammer 435fe8b754
dep: update libs5 2024-01-30 15:46:46 -05:00
Derrick Hammer 883504225e
fix: lifecycle setup needs to return nil 2024-01-30 14:53:50 -05:00
Derrick Hammer 64c3795876
fix: need to hack the condtructor and make a global var as the constructor is getting called twice? 2024-01-30 14:51:23 -05:00
Derrick Hammer 3a49375638
fix: need to not return logger, but decorate the one we do have and replace with the one in the config 2024-01-30 14:32:46 -05:00
Derrick Hammer e477d681d4
Revert "fix: use cfg.Logger"
This reverts commit b86b597cb8.
2024-01-30 14:28:50 -05:00
Derrick Hammer b86b597cb8
fix: use cfg.Logger 2024-01-30 14:21:55 -05:00
Derrick Hammer 9224dcd119
fix: db and logger need to be in S5ProtocolResult 2024-01-30 14:20:33 -05:00
Derrick Hammer a4737ab4b8
dep: update libs5 2024-01-30 14:17:48 -05:00
Derrick Hammer 45567fcda0
fix: update imports 2024-01-30 14:14:05 -05:00
Derrick Hammer 1721fbf832
fix: update imports 2024-01-30 00:33:57 -05:00
Derrick Hammer 73a1e1cffe
dep: update libs5 2024-01-30 00:32:01 -05:00
Derrick Hammer 2a745d6498
dep: update libs5 2024-01-29 22:39:21 -05:00
Derrick Hammer 741647c6dc
dep: update libs5 2024-01-29 22:36:28 -05:00
Derrick Hammer 27240f9f30
dep: update libs5 2024-01-29 22:31:29 -05:00
Derrick Hammer aaa39d810e
dep: update libs5 2024-01-29 22:26:31 -05:00
Derrick Hammer 81145ef404
dep: update libs5 2024-01-29 21:39:25 -05:00
Derrick Hammer 77ebdf9f4c
dep: update libs5 2024-01-29 21:05:01 -05:00
Derrick Hammer 34ba5b42f8
dep: update libs5 2024-01-29 20:53:07 -05:00
Derrick Hammer e034e1d54e
refactor: restructure s5 protocol/api to use new fx module and new library structure. Also move the proto/api to its own package for organization 2024-01-29 15:11:57 -05:00
Derrick Hammer 9b891f6ec7
dep: update libs5 2024-01-29 14:34:32 -05:00
Derrick Hammer 6b66250c08
dep: update libs5 2024-01-29 13:46:43 -05:00
Derrick Hammer a2ee46dbb3
refactor: change retry task to use the same job UUID, so we can track then 2024-01-28 16:39:04 -05:00
Derrick Hammer 4bb34315eb
feat: add support for tags in RetryableTask 2024-01-28 16:32:20 -05:00
Derrick Hammer 2a067102da
refactor: use new RetryableTask abstraction and move task function as a private method 2024-01-28 16:26:15 -05:00
Derrick Hammer 1af1ea9505
feat: create a cron job abstraction with a RetryableTask method, RetryableTaskParams struct, CronJob struct, and CreateJob method 2024-01-28 16:23:38 -05:00
Derrick Hammer b4e2e962e5
fix: we can use modules in the builders after all 2024-01-28 05:22:11 -05:00