Skip to content

Commit d1b82ae

Browse files
committed
3 times is enough
1 parent 781d597 commit d1b82ae

File tree

1 file changed

+6
-1
lines changed
  • services/static-webserver/client/source/class/osparc/desktop

1 file changed

+6
-1
lines changed

services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,12 @@ qx.Class.define("osparc.desktop.StudyEditor", {
378378
this.__pendingProjectData = null;
379379

380380
this.__applyProjectDocument(latestData);
381-
}, 6*this.self().THROTTLE_PATCH_TIME);
381+
}, 3*this.self().THROTTLE_PATCH_TIME);
382+
// make it 3 times longer.
383+
// when another client adds a node:
384+
// - there is a POST call
385+
// - then (after the throttle) a PATCH on its position
386+
// without waiting for it 3 times, this client might place it on the default 0,0
382387
},
383388

384389
__applyProjectDocument: function(data) {

0 commit comments

Comments
 (0)