File size testing is happening too frequently [LBNE 35t]
When running tests with lbne-artdaq, I noticed that there were a lot of messages in the log files about the Aggregator testing to see if the output file has reached its threshold size, duration, or number of events.
#1 Updated by Kurt Biery over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
In the code, the intention was to check the size of the output file only every N seconds and M events. However, it was checking every M events after the first N seconds.
I fixed the logic, and created configuration parameters for M and N (filesize_check_interval_seconds and filesize_check_interval_events).