Commit graph

18 commits

Author SHA1 Message Date
6c0434a289 chore: cargo update, fix clippy lints 2023-04-24 17:43:49 +02:00
7e0151fa64 chore!: separate server functionality into a crate 2023-04-20 16:02:41 +02:00
6394a70030 chore: log -> tracing 2022-10-23 15:59:10 +02:00
ebd11657ac feat!: switch from k12 to sha256, use proper multihash /base impl 2022-09-13 16:44:18 +02:00
fd72034571
code cosmetics, lints
useless format! in tests
use raw strings where appropriate
2022-03-30 12:29:51 +02:00
ef3a130855
refactor Jobs and their handling, really fix infinitely hanging jobs 2022-03-02 22:27:51 +01:00
27cc6eb31c
refactor - remove unnecessary async fns, add helper fn for running blocking tasks in background
also impl Error for JobInProgressError
2022-02-28 22:34:31 +01:00
ce50f5ad80
implement Drop for Job - prevent jobs from hanging in progress forever 2022-02-28 17:00:27 +01:00
5a393b4ec0
jobs can also have indeterminate progress 2022-02-19 16:31:51 +01:00
689350aed5
only return in progress jobs by default on /api/jobs 2022-02-10 15:20:15 +01:00
bbc871ccf6
typeless jobs 2022-02-10 10:47:10 +01:00
f20928ddfe
rustfmt 2022-02-02 17:13:23 +01:00
fa5626af4f
allow only one job of a type to be in progress at once 2022-01-30 16:00:29 +01:00
fa957794e5
encode/decode -> b58_encode/decode 2022-01-26 16:55:23 +01:00
1521f25132
impl Hashable for Path, not just PathBuf 2022-01-18 16:59:59 +01:00
dd765ee94b add lru cache to resolve_path fn 2021-12-04 18:33:40 +01:00
6edf550a95 logging in hash 2021-12-04 16:45:16 +01:00
2b6886645b more cleanup and refactoring and moving
move models.rs and schema.rs into database::inner
create util module (with hash and jobs)
2021-07-26 21:14:51 +02:00