Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Merge requests
!950
Speed up observation startup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Speed up observation startup
speedup-obs-setup
into
master
Overview
6
Commits
2
Pipelines
0
Changes
1
Merged
Jan David Mol
requested to merge
speedup-obs-setup
into
master
8 months ago
Overview
6
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
f7286f5c
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f7286f5c
Don't wait for metadata update
· f7286f5c
Jan David Mol
authored
8 months ago
tangostationcontrol/tangostationcontrol/devices/observation_control.py
+
5
−
1
Options
@@ -151,7 +151,11 @@ class ObservationControl(LOFARDevice):
"""
Callback for when an observation is started, use to emit metadata
"""
try
:
self
.
metadata
.
send_metadata
()
logger
.
info
(
"
Triggering metadata update
"
)
# trigger asynchronous call, we do not care about the result,
# since we cannot afford to wait delaying the observation setup
self
.
metadata
.
command_inout_asynch
(
"
send_metadata
"
,
None
,
True
)
except
Exception
as
e
:
logger
.
exception
(
f
"
Observation start callback for observation
{
observation_id
}
"
Loading