0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
penpot/backend
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
..
dev Improve migration script performance and api usability 2024-01-04 14:40:22 +01:00
resources ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
scripts 📎 Add temporal repl and log4j config 2024-01-25 16:03:29 +01:00
src ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
test/backend_tests ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
.gitignore ⬆️ Update yarn to 4.0.2 and start using npm workspaces 2023-11-29 10:44:36 +01:00
build.clj 🐛 Fix unexpected exception on logger caused by log4j2 plugin 2023-02-11 00:52:23 +01:00
deps.edn 🎉 Add the ability to export import entire team 2024-01-16 17:17:30 +01:00
package.json Add minor improvements to CI config 2023-12-11 17:14:20 +01:00
tests.edn
yarn.lock 🎉 Add clj fmt checking on CI and fmt fix script 2023-11-29 11:48:38 +01:00