0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 01:01:30 -05:00
penpot/common
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 🎉 Add new shape & rect data structures 2023-07-11 17:27:35 +02:00
scripts 📎 Update common repl script 2023-12-12 00:14:08 +01:00
src/app/common ♻️ Fix some fundamental bugs on climit module 2024-02-01 17:37:49 +01:00
target/classes/app/common 🐛 Fix incorrect arc to curve conversion in some cases 2023-12-28 10:30:56 +01:00
test/common_tests Rename "Library backup" to "Main components" 2024-01-30 13:36:25 +01:00
vendor ♻️ Make svg to shapes conversion code multiplatform 2023-11-07 12:48:31 +01:00
.gitignore ⬆️ Update yarn to 4.0.2 and start using npm workspaces 2023-11-29 10:44:36 +01:00
build.clj ⬆️ Change default java compilation target to jdk21 2023-12-12 00:12:38 +01:00
deps.edn 🐛 Improve not-found error report on s3 storage backend 2024-01-25 15:59:45 +01:00
package.json ⬆️ Update common dependencies 2023-12-12 00:13:47 +01:00
shadow-cljs.edn 📎 Add better approach for set devenv jvm resource limits 2023-12-13 14:20:07 +01:00
yarn.lock ⬆️ Update common dependencies 2023-12-12 00:13:47 +01:00