diff --git a/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py b/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py index 397735f..14d4873 100644 --- a/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py +++ b/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py @@ -3,7 +3,7 @@ import typer from agebd.enums import LogLevel from agebd.pv import PVLink -from agebd.runner import CallbackRunner +from agebd.runner import PeriodicRunner from agebd.service.base import BaseService from agebd.service.pvs import BasePVs from agebd.utils import get_pv_class, init_logging, printgetversion @@ -259,7 +259,7 @@ def main( service_name = "DBPM3CURR" pvs = PVs(service_name=service_name, pv_factory=PV) service = Service(name=service_name, pvs=pvs) - runner = CallbackRunner(service=service) + runner = PeriodicRunner(service=service) runner.start()