0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
penpot/backend/resources
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
..
app ♻️ Refactor exportation and duplicate mechanism 2024-01-30 16:27:16 +01:00
climit.edn ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
log4j2-devenv.xml Improve internal cache api 2024-01-25 15:59:45 +01:00
log4j2-experiments.xml 📎 Add temporal repl and log4j config 2024-01-25 16:03:29 +01:00
log4j2.xml 📎 Add missing logger config on default log4j2.xml file 2023-11-13 18:33:28 +01:00
rlimit.edn ♻️ Refactor cocurrency model on backend 2023-03-14 12:30:27 +01:00