2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-01 01:59:58 +00:00
Commit graph

48 commits

Author SHA1 Message Date
227e9cc3a7 BytesReader: use built-in state tracking 2024-02-22 17:49:16 -06:00
0ebee2a07c cargo fix 2024-02-22 16:03:49 -06:00
c1e651c01a Use BytesStream in more places 2024-02-22 16:03:04 -06:00
71d81681d5 It compiles 2024-02-04 15:45:47 -06:00
85f6356025 Fix images with trailing bytes failing to upload 2024-02-03 19:50:00 -06:00
ca34a15cd3 Debug-log command arguments 2024-01-07 10:01:02 -06:00
dc90e00324 Update metrics to 0.22 (plus mechanical changes) 2023-12-26 18:06:38 -06:00
6d259a0eea Don't kill already-exited processes, don't log tmp_dir when fetching details 2023-12-23 13:29:30 -06:00
6fa79b9188 Do more cleanup inline 2023-12-23 11:58:20 -06:00
b938b09901 Apply cargo fix 2023-12-22 20:54:02 -06:00
5624671cbf Rework ProcessRead to require a closure for using the internal AsyncRead 2023-12-22 20:52:58 -06:00
aa8fe7f3e8 Clean unused imports 2023-12-22 13:20:36 -06:00
0dbe722524 Don't poll handle if closed, prevents panic if child wait finishes before all bytes are read 2023-12-22 13:20:21 -06:00
b94ba5fcfc Inline process background future, clean tracing a bit 2023-12-22 13:12:19 -06:00
db43392a3b Simplify process future by removing explicit channel, don't lock mutex as often 2023-12-22 12:03:05 -06:00
c9155f7ce7 Include not_found key in repo migration, rework ProcessRead, add timeout to 0.4 migration 2023-12-17 23:15:27 -06:00
15189d293b clippy 2023-11-09 18:26:57 -06:00
f61dac8187 Attempt to clean stray magick files
This change sets a unique temp directory for each invocation of imagemagick and spawns a task to remove that directory after the command terminates
2023-11-09 18:20:59 -06:00
c795c1edfa Replace most of actix-rt with tokio, give names to tasks 2023-10-20 19:08:11 -05:00
745e990fa0 Remove direct dependency on actix-rt and actix-server 2023-09-24 15:45:10 -05:00
3bd0f78e75 Use with_timeout for all timeouts 2023-09-04 21:58:57 -05:00
a43de122f9 postgres: add already-claimed case, general: tracing paranoia 2023-09-03 21:30:47 -05:00
ba3a23ed43 Add error codes 2023-09-01 20:51:01 -05:00
fee4ed1e3e Add process timeout 2023-08-05 12:41:06 -05:00
77cdeab57e Improve metrics, add job metrics 2023-07-22 21:11:28 -05:00
ce0df080f4 Add prometheus metrics 2023-07-22 16:47:59 -05:00
5e8ab7856d Extract Status errors into command-specific errors 2023-07-17 13:30:08 -05:00
a751d92436 Port error changes to 0.5 2023-07-16 21:51:14 -05:00
ec6c9aac1e Better discovery validation, proper invoking of imagemagick 2023-07-13 19:21:57 -05:00
9b1dd1f8c3 Copy process from 0.4.x branch 2023-07-13 19:21:28 -05:00
f5c39f9be5 Typo, error formatting 2023-07-10 17:15:43 -05:00
9004ecaadf Better classify process related errors 2023-07-10 15:29:41 -05:00
22e526fd2a Allow type underscore (probably in instrument) 2023-06-01 17:33:43 -05:00
669b3fb86f Fix webp metadata stripping, more tracing cleanup 2022-10-01 22:47:52 -05:00
718f09c43a Clean tracing, simplify validation, rename InputFormat -> VideoFormat 2022-10-01 21:17:18 -05:00
80c83eb491 Add ffprobe for details inspection - vastly improve video detection speed 2022-09-25 20:39:09 -05:00
c9a74a73ca Reduce redundancy in process module 2022-09-25 17:35:52 -05:00
50d118a2a7 Implement image pre-processing on upload 2022-09-25 15:17:33 -05:00
8781bc8f28 Add follows-from relation for background tasks 2022-04-07 13:28:28 -05:00
e493e90dd4 Defensive tracing 2022-04-07 12:56:40 -05:00
c80d207a87 Improve tracing 2022-04-06 21:40:49 -05:00
6ed592c432 In Progress: process jobs
- Is this a good idea? it definitely will make interacting with pict-rs harder. Maybe it's best not to do this
2022-04-01 16:51:12 -05:00
e209a282d9 No more follows-from for process 2021-12-06 21:11:43 -06:00
11739cd42c Remove fancy span following code 2021-12-06 20:35:22 -06:00
920f1f154c Improve follows-from and parent span relationships 2021-12-06 12:43:03 -06:00
26a2401027 Use tmp files for mp4s 2021-10-23 14:14:12 -05:00
48557bc2ea Make pict-rs generic over file storage 2021-10-22 23:48:56 -05:00
e7c3e2c96c Rename stream module 2021-10-20 19:00:41 -05:00
Renamed from src/stream.rs (Browse further)