summaryrefslogtreecommitdiffstats
path: root/wsd/LOOLWSD.hpp
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-03-04 15:38:17 -0400
committerHenry Castro <hcastro@collabora.com>2020-03-06 13:37:53 +0100
commit7ba4e9dd2324534c729b053afcf7062f58ebed9a (patch)
tree56156315e647faecea91955b5920943a0c8cb06e /wsd/LOOLWSD.hpp
parentRemember the horizontal scroll position of calc tab-bar (diff)
downloadonline-7ba4e9dd2324534c729b053afcf7062f58ebed9a.tar.gz
online-7ba4e9dd2324534c729b053afcf7062f58ebed9a.zip
wsd: debug: run the server with a single "lokit" process
Sometimes it is very useful to have one "lokit" process, to focus on a 100% reproducible bug, and not worry that server pre-spawn several processes. Change-Id: I414a8145b53a0601a282cba9c245833f5d07f404 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89999 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'wsd/LOOLWSD.hpp')
-rw-r--r--wsd/LOOLWSD.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp
index b4e2b4306e..166de28173 100644
--- a/wsd/LOOLWSD.hpp
+++ b/wsd/LOOLWSD.hpp
@@ -53,6 +53,9 @@ public:
static bool NoCapsForKit;
static bool NoSeccomp;
static bool AdminEnabled;
+#if ENABLE_DEBUG
+ static bool SingleKit;
+#endif
#endif
static std::atomic<int> ForKitWritePipe;
static std::atomic<int> ForKitProcId;