Skip to content

Commit

Permalink
Prepare QC for GLOBAL data sizes (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
martenole authored Apr 23, 2024
1 parent 1e83441 commit 85be82c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions jit/glo-qc-data-size
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
o2-qc --config consul-json://{{ consul_endpoint }}/o2/components/qc/ANY/any/glo-qc-data-size --remote --shm-metadata-msg-size {{ qc_shm_metadata_msg_size }} -b
12 changes: 12 additions & 0 deletions workflows/readout-dataflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,15 @@ defaults:
panel: "QC_Nodes_Workflows"
index: 24
visibleif: $$qc_remote_enabled === "true"
glo_data_size_qc_enabled: !public
value: "false"
type: bool
label: "QC Data Sizes"
description: "Enable/disable QC Data Sizes"
widget: checkBox
panel: "QC_Nodes_Workflows"
index: 25
visibleif: $$qc_remote_enabled === "true"
###############################
# TRG Panel
###############################
Expand Down Expand Up @@ -1780,6 +1789,9 @@ roles:
- name: glo-qc-big-screen
enabled: "{{ glo_big_screen_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}"
include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-qc-big-screen') : '' }}"
- name: glo-qc-data-size
enabled: "{{ glo_data_size_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}"
include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-qc-data-size') : '' }}"
# When qc_remote_enabled is true, it will try to deploy a qc_remote_workflow for every detector in the list.
# However if the {{detector}}_qc_remote_workflow is none, we deploy a ghost role that does nothing to preserve
# control tree state management.// FIXME: this is probably not needed anymore
Expand Down

0 comments on commit 85be82c

Please sign in to comment.