fix: use periodic runner for dbpm
Add new service / deploy (push) Successful in 22s

This commit is contained in:
Benjamin Labrecque
2026-07-14 11:49:19 +02:00
parent 77c9efc250
commit 4bb33e6252
@@ -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()