aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-14 16:11:50 +1000
committeronefang2021-09-14 16:11:50 +1000
commit3a69b078354b30a43854f0ec2ef0041566e46a9d (patch)
treee773f35cbf0663626074275796b776e3a591737b
parentMaybe we can find the backup sim this time? (diff)
downloadopensim-SC-3a69b078354b30a43854f0ec2ef0041566e46a9d.zip
opensim-SC-3a69b078354b30a43854f0ec2ef0041566e46a9d.tar.gz
opensim-SC-3a69b078354b30a43854f0ec2ef0041566e46a9d.tar.bz2
opensim-SC-3a69b078354b30a43854f0ec2ef0041566e46a9d.tar.xz
Only do initial getSims() in tmux thing.
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index d3f1b5f..f025966 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8813,7 +8813,6 @@ Copy correct config/config.ini to there.
8813//////////////////////////////////////////////////////////////////////////////////////////////////// 8813////////////////////////////////////////////////////////////////////////////////////////////////////
8814// Other start up stuff. 8814// Other start up stuff.
8815//////////////////////////////////////////////////////////////////////////////////////////////////// 8815////////////////////////////////////////////////////////////////////////////////////////////////////
8816 getSims();
8817 8816
8818 if (isTmux || isWeb) 8817 if (isTmux || isWeb)
8819 { 8818 {
@@ -8943,6 +8942,7 @@ Copy correct config/config.ini to there.
8943 // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific. 8942 // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific.
8944 int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN); 8943 int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN);
8945 8944
8945 getSims();
8946 ourSims->doIt = 1; 8946 ourSims->doIt = 1;
8947 if (0 == bulkSims) 8947 if (0 == bulkSims)
8948 bulkSims = (cpusOnline / 3) - 1; 8948 bulkSims = (cpusOnline / 3) - 1;