libreoffice-online/common
Ashod Nakashian 88d5491108 wsd: allow shutting down during startup
During startup we wait for extended time until
a child process is up and running. In case this
takes a long time, or indeed if forking permanently
fails, we simply don't respond to shutdown requests.

This patch makes it possible to wait for about 20
seconds at a time for a child. This way on average
we will exit the process within about 10 seconds,
assuming we are blocked waiting for a child that
will never spawn.

Change-Id: I4409cbc60aa3c7bd30970d4638c820bc581b65ba
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 6ed8b4bb1a6532d947a6bb00f936183767b54a80)
2021-10-06 12:28:06 -04:00
..
Authorization.cpp common: revisit log messages misc files 2021-05-05 13:50:41 -04:00
Authorization.hpp
Clipboard.hpp
Common.hpp Valgrind support for tracing the forkit & kits. 2021-09-01 07:14:44 +01:00
ConfigUtil.cpp Add function to check if config has been initialized 2021-06-21 12:43:17 +03:00
ConfigUtil.hpp Add function to check if config has been initialized 2021-06-21 12:43:17 +03:00
Crypto.cpp
Crypto.hpp
DummyTraceEventEmitter.cpp Re-factor Trace Event stuff for improved functionality and thread safety 2021-06-21 12:43:17 +03:00
FileUtil.cpp common: revisit log messages misc files 2021-05-05 13:50:41 -04:00
FileUtil.hpp
Freemium.cpp Introduce Freemium options 2021-07-20 14:41:18 +05:30
Freemium.hpp freemium: corrected typos 2021-09-01 09:44:19 +02:00
JailUtil.cpp common: revisit log messages misc files 2021-05-05 13:50:41 -04:00
JailUtil.hpp
JsonUtil.hpp
Log.cpp Don't stop loolwsd when logger already exists 2021-07-21 08:49:45 +02:00
Log.hpp log: avoid logging after shutdown on all log levels 2021-08-12 10:02:48 +02:00
LOOLWebSocket.hpp
Message.hpp Assign _firstLine before _data is changed 2021-08-30 21:07:59 +01:00
MessageQueue.cpp Improve state dump 2021-05-13 09:29:35 +01:00
MessageQueue.hpp Don't let other clients prevent textinput and removetextcontext merging 2021-07-22 13:41:53 +03:00
MobileApp.cpp Stop using .bmp files for tiles on iOS 2021-09-07 09:59:57 +03:00
MobileApp.hpp Stop using .bmp files for tiles on iOS 2021-09-07 09:59:57 +03:00
Png.hpp Add ProfileZone to encodeSubBufferToPNG 2021-06-22 16:43:40 +03:00
Protocol.cpp
Protocol.hpp
Rectangle.hpp
RenderTiles.hpp Stop using .bmp files for tiles on iOS 2021-09-07 09:59:57 +03:00
Seccomp.cpp
Seccomp.hpp
security.h
Session.cpp Revert "Make it possible to generate Trace Events already when loading the document" 2021-07-07 12:38:11 +03:00
Session.hpp Revert "Make it possible to generate Trace Events already when loading the document" 2021-07-07 12:38:11 +03:00
SigUtil.cpp wsd: allow shutting down during startup 2021-10-06 12:28:06 -04:00
SigUtil.hpp wsd: allow shutting down during startup 2021-10-06 12:28:06 -04:00
SpookyV2.cpp
SpookyV2.h
StringVector.cpp
StringVector.hpp
TraceEvent.cpp Avoid assertion failure if toggling Trace Event generation back and forth 2021-06-30 12:40:08 +03:00
TraceEvent.hpp Re-factor Trace Event stuff for improved functionality and thread safety 2021-06-21 12:43:17 +03:00
Unit.cpp Handle UnitType::Tool in global instance getters and setters 2021-09-28 14:23:34 +02:00
Unit.hpp Cleanup in Unit* subclasses 2021-09-22 20:31:35 +02:00
UnitHTTP.hpp
Util.cpp wsd: avoid misbehaving library cleanup 2021-10-06 12:28:06 -04:00
Util.hpp wsd: avoid misbehaving library cleanup 2021-10-06 12:28:06 -04:00