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
bounce_handling_test.clj
email_sending_test.clj
helpers.clj ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
http_middleware_access_token_test.clj
loggers_webhooks_test.clj
rpc_access_tokens_test.clj
rpc_audit_test.clj
rpc_comment_test.clj
rpc_cond_middleware_test.clj
rpc_file_test.clj
rpc_file_thumbnails_test.clj
rpc_font_test.clj
rpc_management_test.clj
rpc_media_test.clj
rpc_profile_test.clj
rpc_project_test.clj
rpc_quotes_test.clj
rpc_team_test.clj
rpc_viewer_test.clj
rpc_webhooks_test.clj
storage_test.clj
tasks_telemetry_test.clj
util_objects_map_test.clj
util_pointer_map_test.clj