asonix
71d81681d5
It compiles
2024-02-04 15:45:47 -06:00
asonix
c176e4c686
clippy
2024-02-03 18:30:52 -06:00
asonix
cf7c753e65
Pass a State value around rather than a bunch of arguments
2024-02-03 13:31:54 -06:00
asonix
e7357cbdaf
Count spawned tasks in cleanup, debug log queue length
2024-01-30 14:57:48 -06:00
asonix
c65b49339f
Take at most 2048 variants and proxies during each cleanup job
2024-01-25 16:26:29 -06:00
asonix
4145637a33
Add a few more metrics, increase repo disconnect sleep
2024-01-05 19:35:52 -06:00
asonix
bfc2410552
Add trace-level logs to every loop (paranoid)
2023-12-28 11:58:38 -06:00
asonix
b94ba5fcfc
Inline process background future, clean tracing a bit
2023-12-22 13:12:19 -06:00
asonix
f1c5a56353
Port prune_missing from 0.4.x
2023-12-12 16:54:41 -06:00
asonix
914e21c043
Implement constant-time equality for delete tokens, inline alias cleanup
2023-10-04 12:11:29 -05:00
asonix
b2674f06d0
More streme
2023-09-10 20:08:01 -04:00
asonix
1b97ac1c5a
Start replacing manual stream implementations with streem
2023-09-10 18:55:13 -04:00
asonix
a4b1ab7dfb
Instrument postgres db calls
2023-09-04 21:51:27 -05:00
asonix
443d327edf
Implement a couple more repo traits
2023-09-03 12:47:06 -05:00
asonix
8921f57a21
Remove Identifier trait, Replace with Arc<str>
2023-09-02 18:38:02 -05:00
asonix
fd74161c61
Rename some repo methods, generate UploadId in repo
2023-09-01 18:41:04 -05:00
asonix
8f50a15b25
Reduce reliance on futures-util
2023-08-23 11:59:42 -05:00
asonix
ba27a1a223
Build out repo-repo migration
2023-08-16 16:09:40 -05:00
asonix
1ee77b19d8
Make Repo object safe. Create migration
2023-08-15 19:19:03 -05:00
asonix
09236d731d
Fix poll after completion, misused compare_and_swap
2023-08-14 21:17:57 -05:00
asonix
da876fd553
Make it compile
2023-08-14 14:25:19 -05:00
asonix
bd3975f455
Simplify some repo functions, remove 0.3 migration
2023-07-25 20:08:18 -05:00
asonix
aac1bb7bc4
Finish media proxy implementation
2023-07-23 15:45:52 -05:00
asonix
fe1f7c869f
Enable cleanup of variants
...
Still TODO: doing a first pass to mark variants as accessed on launch
2023-07-22 19:41:50 -05:00
asonix
4e58388b41
Clean alias before checking hash option
2023-07-13 19:58:31 -05:00
asonix
afeac8294a
Fix Alias cleanup ordering
...
Update dev.toml
2023-07-13 19:57:09 -05:00
asonix
9e7376d411
Remove is_missing error, make Identifier and DeleteToken return Option on fetch
2023-07-07 13:17:26 -05:00
asonix
e7e4876908
Explicitly handle cases of invalid aliases
2023-07-05 16:46:44 -05:00
asonix
0aa3f574a5
Clippy
2023-01-29 11:57:59 -06:00
asonix
669b3fb86f
Fix webp metadata stripping, more tracing cleanup
2022-10-01 22:47:52 -05:00
asonix
5449bb82f1
Better identify video uploads with ffprobe
2022-09-25 19:34:51 -05:00
asonix
51d8621015
Defensively format errors in traces to avoid deadlocks
2022-09-25 18:46:26 -05:00
Aode (Lion)
b3cbda1337
Add internal endpoint for cleaning variants
2022-04-11 16:56:39 -05:00
Aode (Lion)
6cdae7b318
Add 'cache' endpoint for ingesting ephemeral media
...
By default, cached media should only stick around for 7 days, however
The timeout is reset every time media is accessed, so only obscure
cached media will be flushed from the cache. This '7 days' number is
configurable through the commandline run options as --media-cache-duration
and in the pict-rs.toml file as [media] cache_duration
2022-04-05 20:29:30 -05:00
Aode (Lion)
09f53b9ce6
Move away from UploadManager to direct repo & store actions
2022-04-02 16:44:03 -05:00
Aode (lion)
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
Aode (lion)
c0d8e0e8e3
Support multiple queues for job processor
2022-04-01 11:51:46 -05:00