From c3cfee6bed85958be460d956e0b904d08c95358c Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 2 Dec 2013 01:14:22 +0100 Subject: [PATCH] added TODO to jobs.py regarding multi core support --- linspector/core/job.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/linspector/core/job.py b/linspector/core/job.py index ca25064..c2608dc 100644 --- a/linspector/core/job.py +++ b/linspector/core/job.py @@ -20,6 +20,16 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . """ +""" +TODO: + + - tasks should not be normal python threads; they should be created using the + multiprocessing library to make sure we could use more then one cpu core. + if we switch to celery for task execution at some time we even could use + celery for task execution. currently we support only one core when running + linspector... :( +""" + from datetime import datetime from binascii import crc32 from logging import getLogger