From 5d769819f5934e9c0b57ed5b7054c9092b4cfe71 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 1 Mar 2016 20:51:23 -0500 Subject: [PATCH] Remove inaccurate comment This commit removes an inaccurate comment that got copy and pasted over when the script was originally created. The StdOut processor from the logstash gearman client only works in foreground mode (for obvious reasons) and since it was the simplest example that was used as a basis for the subunit processor. However, the subunit processor doesn't share this limitation and can (and has been) run as a daemon in the background. Change-Id: I332523567d16b0994b06e278b68ffe8bcb7d9bfa --- files/subunit-gearman-worker.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/subunit-gearman-worker.py b/files/subunit-gearman-worker.py index 74efd42..b16fb92 100644 --- a/files/subunit-gearman-worker.py +++ b/files/subunit-gearman-worker.py @@ -233,8 +233,6 @@ class Server(object): self.subunitqueue) def setup_processor(self): - # Note this processor will not work if the process is run as a - # daemon. You must use the --foreground option. subunit2sql_config = self.config['config'] self.processor = Subunit2SQLProcessor(self.subunitqueue, subunit2sql_config)