Skip to content
Snippets Groups Projects
Verified Commit 39590c3f authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add memory observer for ztplot

parent a7d178cc
No related branches found
No related tags found
No related merge requests found
Pipeline #33440 passed
......@@ -20,7 +20,7 @@ from __future__ import division
import km3pipe.style
from km3modules.plot import ztplot
from km3modules.common import LocalDBService
from km3modules.common import LocalDBService, MemoryObserver
from km3modules.communication import ELOGService
from km3io.tools import is_3dmuon, is_3dshower, is_mxshower
import km3db
......@@ -287,12 +287,13 @@ def main():
ligier_port = int(args['-p'])
pipe = kp.Pipeline()
pipe.attach(MemoryObserver, every=1000)
pipe.attach(LocalDBService, thread_safety=False)
pipe.attach(ELOGService)
pipe.attach(kp.io.ch.CHPump,
host=ligier_ip,
port=ligier_port,
tags='IO_EVT, IO_SUM',
tags='IO_EVT',
timeout=60 * 60 * 24 * 7,
max_queue=2000)
pipe.attach(kp.io.daq.DAQProcessor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment