Compare commits
1 Commits
nilmrun-1.
...
nilmrun-1.
Author | SHA1 | Date | |
---|---|---|---|
a8ecad9329 |
@@ -7,7 +7,7 @@ Prerequisites:
|
||||
sudo apt-get install python2.7 python-setuptools
|
||||
|
||||
# Plus nilmdb and its dependencies
|
||||
nilmdb (1.8.2+)
|
||||
nilmdb (1.8.3+)
|
||||
|
||||
Install:
|
||||
|
||||
|
@@ -22,6 +22,7 @@ from nilmdb.server.serverutil import (
|
||||
cherrypy_stop,
|
||||
bool_param,
|
||||
)
|
||||
from nilmdb.utils import serializer_proxy
|
||||
import nilmrun
|
||||
import nilmrun.testfilter
|
||||
|
||||
@@ -204,8 +205,11 @@ class Server(object):
|
||||
# error messages.
|
||||
cherrypy._cperror._ie_friendly_error_sizes = {}
|
||||
|
||||
# The manager maintains internal state and isn't necessarily
|
||||
# thread-safe, so wrap it in the serializer.
|
||||
manager = serializer_proxy(nilmrun.processmanager.ProcessManager)()
|
||||
|
||||
# Build up the application and mount it
|
||||
manager = nilmrun.processmanager.ProcessManager()
|
||||
root = App()
|
||||
root.process = AppProcess(manager)
|
||||
root.run = AppRun(manager)
|
||||
|
Reference in New Issue
Block a user