[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sat Jan 6 21:12:15 UTC 2018
wsd/LOOLWSD.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 37593072eba1d59073e22cbdeea8928cfdac344b
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Mon Jan 1 16:57:46 2018 -0500
wsd: log some config values for reference
Change-Id: I5d3ea06de3253e5bfec3f9e6fed749f441f1a979
Reviewed-on: https://gerrit.libreoffice.org/47362
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 760d74ad..99174cca 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -328,7 +328,6 @@ static bool cleanupChildren()
}
/// Decides how many children need spawning and spanws.
-/// When force is true, no check of elapsed time since last request is done.
/// Returns the number of children requested to spawn,
/// -1 for error.
static int rebalanceChildren(int balance)
@@ -792,12 +791,14 @@ void LOOLWSD::initialize(Application& self)
LOG_WRN("Invalid num_prespawn_children in config (" << NumPreSpawnedChildren << "). Resetting to 1.");
NumPreSpawnedChildren = 1;
}
+ LOG_INF("NumPreSpawnedChildren set to " << NumPreSpawnedChildren << ".");
const auto maxConcurrency = getConfigValue<int>(conf, "per_document.max_concurrency", 4);
if (maxConcurrency > 0)
{
setenv("MAX_CONCURRENCY", std::to_string(maxConcurrency).c_str(), 1);
}
+ LOG_INF("MAX_CONCURRENCY set to " << maxConcurrency << ".");
// Otherwise we profile the soft-device at jail creation time.
setenv("SAL_DISABLE_OPENCL", "true", 1);
More information about the Libreoffice-commits
mailing list