0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
penpot/backend
Andrey Antukh 4928f875b3 Strip incoming changes from update-file response.
Until now, `update-file` always returned a ordered set of change-groups
plus the one created by the ongoing request.

A change-group corresponds to a list of changes commited in a single
update-file (file_change table row).

Including the ongoing request change-group on response with increase
load stated causing considerable amount of memmory pressure.

Since this changes are no longer necessary on frontend side, with this
commit we strip the changes list from the ongoing request change-group,
sending back an empty entry with the increased `revn` number.
2021-06-11 12:36:21 +02:00
..
dev ♻️ Internal directory refactor. 2021-05-31 11:04:32 +02:00
resources 📎 Minor changes on log4j2-devenv.xml file. 2021-05-10 14:53:47 +02:00
scripts 📎 Change default jvm options for backend and frontend repl. 2021-05-25 15:41:52 +02:00
src Strip incoming changes from update-file response. 2021-06-11 12:36:21 +02:00
test/app ♻️ Reimplement GC mechanism for penpot database objects. 2021-06-09 15:27:07 +02:00
deps.edn ♻️ Internal directory refactor. 2021-05-31 11:04:32 +02:00
package.json 🎉 Format all email messages with mjml 2020-06-16 15:40:13 +02:00
tests.edn ♻️ Internal directory refactor. 2021-05-31 11:04:32 +02:00
yarn.lock ⬆️ Update dependencies. 2020-12-21 16:55:54 +01:00