Commit Graph

71 Commits

Author SHA1 Message Date
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
d5b9724b0b Set max_tries to 3 2022-08-14 22:58:19 +03:00
69da23fb94 Update download timeout 2022-08-14 22:31:33 +03:00
69598b2264 Fix timeouts 2022-08-14 22:29:21 +03:00
a32c3d2909 Add exists check 2022-08-11 22:02:05 +03:00
a9c57e3c7c Add defer for check_books_page task 2022-08-10 13:11:33 +03:00
4eb848a588 Update get_book timeout 2022-05-01 21:35:22 +03:00
f9b0a4dcec Update jobs timeout 2022-05-01 21:23:42 +03:00
6ee027b430 Remove crontab jobs 2022-04-28 12:54:10 +03:00
570628a821 Fix client closing 2022-04-24 23:34:18 +03:00
ba9fb6af05 Fix env_config 2022-04-24 15:38:12 +03:00
6f859445c8 Add sentry 2022-04-24 14:32:40 +03:00
f3edd6664c Fix bug 2022-04-23 23:10:06 +03:00
368aa85817 Set ORJSONResponse as default 2022-04-11 20:57:20 +03:00
34b990335e Fix cron jobs 2022-04-03 22:14:02 +03:00
e5b56a3c15 Add retry after download fail 2022-03-23 15:47:12 +03:00
3b5fef987a Fix closing connections 2022-03-23 13:53:41 +03:00
e9ae59748c Update retry rules 2022-03-23 13:37:59 +03:00
54526ad33d Optimize cache checking 2022-03-23 12:44:42 +03:00
8c0624725f Add revers order caching 2022-03-23 11:57:02 +03:00
8705be1f6f Fix 2022-03-12 21:48:42 +03:00
74d90bb896 Add cron 2022-03-12 21:34:00 +03:00