mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-10 13:32:04 +02:00
Add simple re-try sync mechanism
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
namespace sync_config
|
||||
{
|
||||
// If the modules are offset more than 1000 pulses, crush.
|
||||
const uint64_t PULSE_OFFSET_LIMIT = 100;
|
||||
|
||||
// Number of times we try to re-sync in case of failure.
|
||||
const int SYNC_RETRY_LIMIT = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user