Ignore:
Timestamp:
06/03/13 11:22:04 (11 years ago)
Author:
tbretz
Message:
The incompolete event timeout can now be set as configuration value
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.cc

    r16618 r16619  
    7474
    7575size_t g_maxMem;                //maximum memory allowed for buffer
     76
     77uint16_t g_evtTimeout;           // timeout (sec) for one event
    7678
    7779FACT_SOCK g_port[NBOARDS];      // .addr=string of IP-addr in dotted-decimal "ddd.ddd.ddd.ddd"
     
    13651367            // The first event is the oldest. If the first event within the
    13661368            // timeout window was received, we can stop searchinf further.
    1367             if (evt->time.tv_sec>=actTime - 30)
     1369            if (evt->time.tv_sec+g_evtTimeout>=actTime)
    13681370                break;
    13691371
Note: See TracChangeset for help on using the changeset viewer.