Skip to content
Snippets Groups Projects

[Webservice] Restructure database to give more meaningful success/failure information

Merged Thomas Kluyver requested to merge webservice-refactor-db into master
Files
4
+ 3
3
@@ -226,9 +226,9 @@ class JobsMonitor:
self.kafka_prod.send(self.kafka_topic, {
'event': 'correction_complete',
'proposal': r['proposal'],
'run': r['run'],
'run': str(r['run']),
'detector': r['det_type'],
'karabo_id': r['karabo_id'],
'detector_installation': r['karabo_id'],
'success': success,
})
except KafkaError:
@@ -257,7 +257,7 @@ class JobsMonitor:
self.kafka_prod.send(self.kafka_topic, {
'event': 'run_corrections_complete',
'proposal': r['proposal'],
'run': r['run'],
'run': str(r['run']),
'success': success,
})
except KafkaError:
Loading