0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
penpot/backend/test/backend_tests
Andrey Antukh a5c6d78ee5 ♻️ Fix some fundamental bugs on climit module
The climit previously of this commit is heavily used inside a
transactions, so in heavy contention operation such that file thumbnail
creation can cause a db pool exhaust.

This commit fixes this issue setting up a better resource limiting
mechanism that works outside the transactions so, contention will
no longer hold an open connection/transaction.

It also adds general improvement to the traceability to the climit
mechanism: it now properly logs the profile-id that is currently
cause some contention on specific resources.

It also add a general/root climit that is applied to all requests
so if someone start making abussive requests, we can clearly detect
it.
2024-02-01 17:37:49 +01:00
..
test_files 🎉 Add support for multipart upload of thumbnails 2023-05-05 17:00:35 +02:00
bounce_handling_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
email_sending_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
helpers.clj ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
http_middleware_access_token_test.clj Update yetti and adapt for ring-2.0 2023-11-27 14:25:12 +01:00
loggers_webhooks_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_access_tokens_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_audit_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_comment_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_cond_middleware_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_file_test.clj 🐛 Fix objects-map and pointer-map issues on file crud 2024-01-25 16:03:29 +01:00
rpc_file_thumbnails_test.clj 💄 Format backend code 2024-01-08 09:32:50 +01:00
rpc_font_test.clj 💄 Format backend code 2024-01-08 09:32:50 +01:00
rpc_management_test.clj Add better progress reporting 2024-01-30 16:27:16 +01:00
rpc_media_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_profile_test.clj 🐛 Fix incorrect props handling on profile registration 2024-01-24 17:12:41 +01:00
rpc_project_test.clj Add safety mechanism for direct object deletion 2024-01-03 10:56:57 +01:00
rpc_quotes_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_team_test.clj 💄 Format backend code 2024-01-08 09:32:50 +01:00
rpc_viewer_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
rpc_webhooks_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
storage_test.clj Add safety mechanism for direct object deletion 2024-01-03 10:56:57 +01:00
tasks_telemetry_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
util_objects_map_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00
util_pointer_map_test.clj 💄 Fix format issues on backend module 2023-11-29 12:55:58 +01:00