libreoffice-online/kit
Gabriel Masei 9c6739eee0 kit: disable parallel handling of messages while processing load and save
The map._activate, among other actions, is sending indirectly some messages
to the server like clientzoom and clientvisiblearea. If these messages are send
before the document finishes processing the load message then there is
a chance that a nodocloaded error will be thrown because there is a
chance that the messages will be processed in parallel with load. This happens
constantly for xlsx files. This is generated by the Unipoll mechanism which,
in case of xlsx files, triggers a parallel processing.
To avoid the above scenario a mechanism of disabling parallel processing of
messages in kit was implemented and is used for load and save messages, for now.

Change-Id: I4c83e72e600f92d0bb4f1f18cebe694e326256d0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98519
Tested-by: Jenkins
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-07-22 17:38:05 +02:00
..
ChildSession.cpp kit: disable parallel handling of messages while processing load and save 2020-07-22 17:38:05 +02:00
ChildSession.hpp Kit: add initial state dumping on USR1. 2020-07-18 18:21:14 +02:00
Delta.hpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
DummyLibreOfficeKit.cpp Include <cstdlib> for free() 2020-04-29 23:54:36 +02:00
DummyLibreOfficeKit.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
ForKit.cpp Kit: add initial state dumping on USR1. 2020-07-18 18:21:14 +02:00
Kit.cpp kit: disable parallel handling of messages while processing load and save 2020-07-22 17:38:05 +02:00
Kit.hpp Move the setupKitEnvironment() function into a file of its own 2020-07-03 08:40:49 +02:00
KitHelper.hpp Also send parthash info when using draw (in case of PDF) 2020-06-28 00:37:24 +02:00
SetupKitEnvironment.hpp Calc: enable sheet-geometry data and printTwips messages 2020-07-08 16:42:12 +02:00
TestStubs.cpp
Watermark.hpp Use #pragma once 2020-04-18 15:00:18 +02:00