aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-06-07 09:00:06 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-06-07 10:09:01 +0200
commited54091388eb31ff117cc2595381dd1cf4dfb00f (patch)
tree4c1d9c196a9192a4b8b486b5a19dcd9260ff8f2a /docker/core
parent305931fa64df8de7415510e977c1c71e81dd102a (diff)
Stop increase thread stack size
It seems useless and then it limits the diff to Rally. Change-Id: Ib745c7aad20ab5ab7fd4f8a5c7deb9d4aff30881 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 38e63e588d3198de952a72b1fb8217df27511b95)
Diffstat (limited to 'docker/core')
-rw-r--r--docker/core/Switch-to-threading.Thread-for-Rally-tasks.patch28
1 files changed, 2 insertions, 26 deletions
diff --git a/docker/core/Switch-to-threading.Thread-for-Rally-tasks.patch b/docker/core/Switch-to-threading.Thread-for-Rally-tasks.patch
index d65967ad6..a6d012730 100644
--- a/docker/core/Switch-to-threading.Thread-for-Rally-tasks.patch
+++ b/docker/core/Switch-to-threading.Thread-for-Rally-tasks.patch
@@ -1,4 +1,4 @@
-From 9b07423c246e7e4ab9fa25851d79ce6986c10c2e Mon Sep 17 00:00:00 2001
+From 0d0ca00e56024a9919c150dbed62050d4c70b0c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com>
Date: Wed, 3 Jun 2020 15:23:59 +0200
Subject: [PATCH] Switch to threading.Thread() for Rally tasks
@@ -16,33 +16,9 @@ It looks similar to gsutil release notes [2].
Change-Id: I582933832e23d188c7fa5999e713dd5d7e82d2da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
- rally/cli/main.py | 5 ++++-
rally/task/runner.py | 7 ++++---
- 2 files changed, 8 insertions(+), 4 deletions(-)
+ 1 file changed, 4 insertions(+), 3 deletions(-)
-diff --git a/rally/cli/main.py b/rally/cli/main.py
-index 235a57113..14c057c0e 100644
---- a/rally/cli/main.py
-+++ b/rally/cli/main.py
-@@ -15,6 +15,10 @@
-
- """CLI interface for Rally."""
-
-+STACK_SIZE = 1024 * 1024
-+import threading
-+threading.stack_size(STACK_SIZE)
-+
- import sys
-
- from rally.cli import cliutils
-@@ -25,7 +29,6 @@ from rally.cli.commands import plugin
- from rally.cli.commands import task
- from rally.cli.commands import verify
-
--
- categories = {
- "db": db.DBCommands,
- "env": env.EnvCommands,
diff --git a/rally/task/runner.py b/rally/task/runner.py
index 3397e1193..5edebb406 100644
--- a/rally/task/runner.py