Project

General

Profile

Feature #3133

Handling timeout in NOvASocketInputDriver

Added by Mark Messier about 7 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
11/19/2012
Due date:
% Done:

0%

Estimated time:
Duration:

Description

We on NOvA are using the "NOvASocketInputDriver" as our input module for an ART-based version of our online monitoring. When there is no run going, and hence no data to be served, this input driver enters a long loop waiting for data. If possible, I would like to change the behavior to something like:

1. Poll for data - wait ~2 seconds for response (configurable).
2. If have data, process the event normally
3. If timeout occurs, notify modules with an "inputSourceTimeOut" method implemented and return 1.

The reason is that I would like to have the monitoring program continue to publish its status to the viewer ("I'm still alive and waiting for data...") rather than just hang in it's "readNext_" which is indistinguishable to the shifter from various failure modes of the program.

History

#1 Updated by Mark Messier over 5 years ago

  • Status changed from New to Feedback

No progress on this one but I think it would still be a worth while feature. Maybe needs to be first bounced to the ART developers since it impacts the interface of the ART I/O modules.

#2 Updated by Alexander Himmel about 3 years ago

  • Status changed from Feedback to Rejected


Also available in: Atom PDF