Skip to content

more little Services updates - #81

Merged
brichards64 merged 1 commit into
ToolDAQ:mainfrom
marc1uk:servicelogging
Sep 10, 2026
Merged

brichards64 merged 1 commit into
ToolDAQ:mainfrom
marc1uk:servicelogging

Conversation

@marc1uk

@marc1uk marc1uk commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor
  • make wait on startup for services to connect to middleman configurable
  • forward Services class to SlowControlCollection so it can log problems
  • add a separate buffer of monitoring (device+subject) and reject duplicates in monitoring merge period based on this, rather than the buffer. Needed as the buffer may be flushed early if we exceed the MTU size, which would otherwise bypass rate limiting.
  • set "Config" slow control state in LoadConfigSlowControlFunc
  • add conversion of line breaks in logging messages to '\n', as these otherwise break DB insertion!
  • report state of testing flag in LocalConfig slow control response
  • set SlowControlCollection warning bit if a slow control callback fails... tenatively
  • set SlowControlCollection error bit if an alert fails to receive, decompress, or callback function fails
  • make Services a friend class of SlowControlCollection, and make SetTesting, TestingEnable, TestingDisable functions private

* forward Services class to SlowControlCollection so it can log problems
* add a separate buffer of monitoring (device+subject) and reject duplicates in monitoring merge period based on this, rather than the buffer. Needed as the buffer may be flushed early if we exceed the MTU size, which would otherwise bypass rate limiting.
* set "Config" slow control state in LoadConfigSlowControlFunc
* add conversion of line breaks in logging messages to '\n', as these otherwise break DB insertion!
* report state of testing flag in LocalConfig slow control response
* set SlowControlCollection warning bit if a slow control callback fails... tenatively
* set SlowControlCollection error bit if an alert fails to receive, decompress, or callback function fails
* make Services a friend class of SlowControlCollection, and make SetTesting, TestingEnable, TestingDisable functions private
@marc1uk marc1uk changed the title * make wait on startup for services to connect to middleman configurable more little Services updates Sep 10, 2026
@brichards64
brichards64 merged commit f58d679 into ToolDAQ:main Sep 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants