penpot/backend/src/app
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
..
cli 📎 Fix license header. 2021-04-12 16:49:43 +02:00
db Reduce contention on file-update using advisory locks and weaker row locking. 2021-06-09 15:49:45 +02:00
http Merge remote-tracking branch 'origin/main' into develop 2021-06-02 13:15:23 +02:00
loggers Add source ip to the audit-log. 2021-06-10 10:56:39 +02:00
migrations Reduce the file-change snapshot taking ratio. 2021-06-11 12:36:21 +02:00
rpc Strip incoming changes from update-file response. 2021-06-11 12:36:21 +02:00
setup Properly use dumped objects on initial data load process. 2021-05-20 10:52:20 +02:00
srepl 🎉 Add server repl helper for duplicate file. 2021-03-02 10:49:50 +01:00
storage 🎉 Add dashboard custom fonts management. 2021-05-04 14:21:31 +02:00
tasks ♻️ Reimplement GC mechanism for penpot database objects. 2021-06-09 15:27:07 +02:00
util Merge remote-tracking branch 'origin/main' into develop 2021-06-02 13:15:23 +02:00
config.clj 🐛 Fix possible bug in domain whitelisting checking. 2021-05-25 21:19:13 +02:00
db.clj 🎉 Add decode-inet helper on app.db ns. 2021-06-10 10:56:39 +02:00
emails.clj 🐛 Fix wrong spec definition on invite email. 2021-06-09 15:27:07 +02:00
http.clj Deactivate profile-activity middleware. 2021-05-06 10:27:05 +02:00
main.clj Increment the file-change garbage collection time window. 2021-06-11 12:36:21 +02:00
media.clj :spakles: Minor improvements on svg uploading on libraries. 2021-05-27 13:00:13 +02:00
metrics.clj 📎 Fix license header. 2021-04-12 16:49:43 +02:00
migrations.clj Reduce the file-change snapshot taking ratio. 2021-06-11 12:36:21 +02:00
msgbus.clj Fix msbus/redis logged errors on restarting (repl). 2021-05-17 12:02:21 +02:00
notifications.clj ♻️ Replace backend transit ns with common transit. 2021-05-31 11:04:32 +02:00
rlimits.clj 🎉 Add dashboard custom fonts management. 2021-05-04 14:21:31 +02:00
rpc.clj Add source ip to the audit-log. 2021-06-10 10:56:39 +02:00
setup.clj Allow overide the secret-key on setup module. 2021-05-06 14:13:54 +02:00
srepl.clj 📎 Fix license header. 2021-04-12 16:49:43 +02:00
storage.clj 📎 Decrease default bulk buffers on storage tasks. 2021-06-04 09:41:42 +02:00
tokens.clj ♻️ Replace backend transit ns with common transit. 2021-05-31 11:04:32 +02:00
worker.clj Merge remote-tracking branch 'origin/main' into develop 2021-06-03 12:56:37 +02:00