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

63 commits

Author SHA1 Message Date
cde4a72203 Add metrics to object storage body streams 2023-09-20 19:46:10 -05:00
49d3037358 Add metrics to object storage requests 2023-09-20 19:39:03 -05:00
1b97ac1c5a Start replacing manual stream implementations with streem 2023-09-10 18:55:13 -04:00
a43de122f9 postgres: add already-claimed case, general: tracing paranoia 2023-09-03 21:30:47 -05:00
8a892ba622 it might work 2023-09-03 18:21:46 -05:00
8921f57a21 Remove Identifier trait, Replace with Arc<str> 2023-09-02 18:38:02 -05:00
8c532c97e6 Initial postgres work 2023-09-02 11:52:55 -05:00
ba3a23ed43 Add error codes 2023-09-01 20:51:01 -05:00
95637fdfe5 Remove direct dep on futures-util 2023-08-23 19:10:10 -05:00
8f50a15b25 Reduce reliance on futures-util 2023-08-23 11:59:42 -05:00
1ee77b19d8 Make Repo object safe. Create migration 2023-08-15 19:19:03 -05:00
bd3975f455 Simplify some repo functions, remove 0.3 migration 2023-07-25 20:08:18 -05:00
c1127b4117 Set content-length in PutObject, CompleteMultipart 2023-07-21 19:45:22 -05:00
2f0a3618d8 Replace awc with reqwest 2023-07-21 16:58:31 -05:00
4d78ce7689 Fix store delegation for public_url 2023-07-14 15:23:07 -05:00
786f583d98 Add public_url to Store for optional redirects to public object store urls
Add details generation to file migration to set the content-type for uploads
2023-07-14 14:53:37 -05:00
691bca286c Make object storage timeouts configurable 2023-07-11 13:01:58 -05:00
4be2eb67d1 Increase object storage signature expiry to 15 seconds 2023-07-10 16:28:51 -05:00
4680f9c3aa Instrument repo and store build methods 2023-07-08 10:42:03 -05:00
7274538b70 Try adding store healthcheck 2023-07-07 12:05:42 -05:00
a1d48cbb42 Share client between object store and request extractor
Add config to limit connection pool size
2023-06-23 11:20:20 -05:00
071d788349 Include original error in object storage sendrequest error 2023-06-21 17:07:14 -05:00
554d852e68 Create unique errors for Repo and Store, separate from UploadError
Add .is_not_found() for Store errors, wire up Object and File storage to properly set NotFound
Allow skipping files that are not found during store migration
2023-06-20 15:59:08 -05:00
0aa3f574a5 Clippy 2023-01-29 11:57:59 -06:00
f6d6d54b88 Update deps 2023-01-29 11:47:28 -06:00
3325b222a2 clippy 2022-11-26 11:18:34 -06: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
e7cf21f862 Allow concurrency in small object uploads 2022-10-01 13:06:19 -05:00
fe2a499110 Fix sending upload parts (set size), optimize small file uploads 2022-10-01 13:00:07 -05:00
0307dc5a3b Introduce BytesStream to simplify aggregating, forwarding bytes 2022-10-01 12:06:33 -05:00
29cab025c6 Improve 0.3 migration code, repo traces 2022-09-27 23:19:52 -05:00
9db057fdc5 Add admin endpoint to fetch identifier from an alias 2022-09-25 20:59:57 -05:00
dc95417846 Improve concurrency for upload streams part 2 2022-09-25 08:27:11 -05:00
bf3c47e457 Improve concurrency for upload streams 2022-09-24 22:07:06 -05:00
a6adde874e Implement s3 multipart uploads 2022-09-24 20:33:59 -05:00
25209e29c0 Make it compile 2022-09-24 17:18:53 -05:00
ff1771e016 More migration work for rusty-s3 2022-09-24 14:18:49 -05:00
ab7fd9aaf7 Start work on using rusty-s3 instead of rust-s3 2022-09-24 13:39:27 -05:00
2db76ad8c5 Update dependencies 2022-04-29 15:54:54 -05:00
4ac20546ce Improve migration from 0.3 formats 2022-04-24 17:10:15 -05:00
c80d207a87 Improve tracing 2022-04-06 21:40:49 -05:00
c0d8e0e8e3 Support multiple queues for job processor 2022-04-01 11:51:46 -05:00
09281d9ae8 Move stream timeout to all response bodies 2022-03-29 16:48:26 -05:00
5adb3fde89 Move some Stream implementations into 'stream' module 2022-03-29 15:59:17 -05:00
25f4480809 Remove custom stream error mapping types 2022-03-29 14:17:20 -05:00
eb5e39c634 Use color-eyre 2022-03-28 20:47:46 -05:00
1291bf8beb Divorce reqwest from main application's spans 2022-03-28 18:42:22 -05:00
1662f153ce Numerous changes:
- Improve error printing (display chain in addition to spantrace)
- Fix migration (read main identifier from identifier tree, not filename tree)
- Ensure uniqueness for processed images in ConcurrentProcessor (use source identifier in addition to thumbnail path, include extension in thumbnail path)
- Update default log levels (make pict-rs quieter)
- Add timeout for serving images from object storage (5 seconds)
2022-03-28 15:34:36 -05:00
37e6b21b55 Fix Range, consolidate errors, test object storage 2022-03-26 20:45:12 -05:00