Commit Graph

92 Commits

Author SHA1 Message Date
30b7e15f25 Fix 2023-05-20 20:17:59 +02:00
7f6837b8f5 Use taskiq 2023-05-20 20:16:00 +02:00
67478536e2 Reduce postgres pool connections 2023-05-14 17:57:50 +02:00
d8fdd610ea Fix lint 2023-05-06 22:11:37 +02:00
04533ab759 Fix job serializer/deserializer 2023-03-28 16:31:03 +02:00
bb945649b5 Update job result serialization 2023-03-28 15:00:28 +02:00
5d0fcc98c4 Fix check_books job starting 2023-03-05 16:47:27 +01:00
e581958838 Fix asyncio.TimeoutError serialization 2023-03-05 16:35:38 +01:00
7859ad1521 Fix check pages job 2023-03-04 22:43:33 +01:00
7d5faea45f Fix cache updater 2023-02-26 21:18:26 +01:00
a1e589b672 Set max_jobs to 2 2023-02-04 13:40:37 +01:00
6e84957375 Fix 2023-02-01 03:18:03 +01:00
20dc516b52 Use base book info endpoing 2023-02-01 03:10:30 +01:00
d862b19083 Fix 2023-02-01 02:17:39 +01:00
67f0878b71 Add no_cache for get_books 2023-02-01 01:47:50 +01:00
3680b370c2 Update getting books when caching 2023-02-01 01:36:25 +01:00
19f1b38ba4 Fix caption generation 2023-01-23 09:16:49 +01:00
778d6429d5 Fix downloading 2023-01-22 23:03:08 +01:00
34e0d001ec Fix caption length 2023-01-22 22:29:08 +01:00
698d47a4bc Add x-filename-b64 header 2023-01-19 17:40:14 +01:00
bef9e4a1db Fix get_filename 2023-01-18 18:32:19 +01:00
5431f65c79 Update background tasks 2023-01-16 11:49:21 +01:00
525e33cdd6 Update prometheus metrics settings 2023-01-12 12:53:06 +01:00
966765a532 Add isort force-sort-within-sections 2023-01-09 21:32:30 +01:00
1f18897dc3 Migrate to ruff 2023-01-07 23:57:48 +01:00
f9d701ec3b Fix 2023-01-05 22:17:10 +01:00
8109b467ec Fix 2023-01-01 21:43:55 +01:00
be43f588d4 Fix 2023-01-01 21:42:37 +01:00
25ba409be7 Fix 2023-01-01 21:24:54 +01:00
3ed43b002e Fix 2023-01-01 20:53:52 +01:00
0644122364 Use msgpack for jobs 2022-12-31 14:49:43 +01:00
6a40ca3c44 Fix 2022-12-31 00:05:14 +01:00
8ce7cce01a Remove data field 2022-12-30 23:46:51 +01:00
339ae64363 Add message_id and chat_id to CachedFile 2022-12-30 23:01:21 +01:00
53623592ec Set max_jobs to 2 2022-12-30 13:31:44 +01:00
5e011fd05e Prevent tasks duplicates 2022-12-27 20:03:16 +01:00
9476e9131e Fix download errors 2022-12-27 18:02:11 +01:00
06ab2aaaef Set max jobs to 4 2022-12-27 18:00:04 +01:00
20df71412d Add caching files if cache not valid 2022-12-15 17:31:12 +01:00
73d843e146 Add deleting, if can't download from cache 2022-12-15 17:27:47 +01:00
2dd88340d9 Fix 2022-12-15 17:17:26 +01:00
867177e106 Fix get_book 2022-12-07 21:01:21 +01:00
57f45d8329 Mute FileTypeNotAllowed 2022-12-07 20:53:13 +01:00
6dcf78736a Fix book getting 2022-12-07 20:51:52 +01:00
6c77f0ced2 Fix get_caption 2022-12-06 18:49:03 +01:00
fd58fbccaa Migrate from aioredis to redis 2022-10-26 23:35:39 +02:00
e558c0e483 Set random retry defer 2022-08-22 19:48:08 +03:00
0d252fc532 Add download_dump endpoint 2022-08-21 16:14:57 +03:00
eb9cf2fe29 Add cache locks 2022-08-20 23:52:10 +03:00
2750436a5b Update retry defer 2022-08-17 13:54:40 +03:00