changed default instances from 4 to 1; added multicore stuff to changelog
This commit is contained in:
parent
1cdaec5441
commit
bbcca82704
2 changed files with 3 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
0.16 - Date ??? Next release is scheduled to christmas 2013
|
0.16 - Date ??? Next release is scheduled to christmas 2013
|
||||||
|
|
||||||
- Added a CHANGELOG file
|
- Added a CHANGELOG file
|
||||||
|
- Added multi core support by instantiating multiple scheduler instances
|
||||||
- Added "gui" command to lish providing an urwid (curses) based interface to
|
- Added "gui" command to lish providing an urwid (curses) based interface to
|
||||||
Linspector
|
Linspector
|
||||||
- Added scheduling status to boot message
|
- Added scheduling status to boot message
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,6 @@ import os
|
||||||
import os.path as path
|
import os.path as path
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from multiprocessing import cpu_count
|
|
||||||
|
|
||||||
from linspector.config.parser import FullConfigParser
|
from linspector.config.parser import FullConfigParser
|
||||||
from linspector.core.interface import LinspectorInterface
|
from linspector.core.interface import LinspectorInterface
|
||||||
from linspector.core.worker import LinspectorWorker
|
from linspector.core.worker import LinspectorWorker
|
||||||
|
|
@ -62,9 +60,8 @@ def parse_args():
|
||||||
parser.add_argument("-c", "--logcount", default=5, type=int,
|
parser.add_argument("-c", "--logcount", default=5, type=int,
|
||||||
help="maximum number of logfiles in rotation (default: 5)")
|
help="maximum number of logfiles in rotation (default: 5)")
|
||||||
|
|
||||||
parser.add_argument("-i", "--instances", default=cpu_count(), type=int,
|
parser.add_argument("-i", "--instances", default=1, type=int,
|
||||||
help="number of scheduler instances (default: number of cpu cores available (" +
|
help="number of scheduler instances (default: 1)")
|
||||||
str(cpu_count()) + "))")
|
|
||||||
|
|
||||||
parser.add_argument("-m", "--logsize", default=10485760, type=int,
|
parser.add_argument("-m", "--logsize", default=10485760, type=int,
|
||||||
help="maximum logfile size in bytes (default: 10485760)")
|
help="maximum logfile size in bytes (default: 10485760)")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue