Changeset 1376


Ignore:
Timestamp:
12/13/17 15:49:59 (4 years ago)
Author:
ymipsl
Message:

Set the default timeout in reception at 300s instead 10s

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/cxios.cpp

    r1375 r1376  
    3737  CRegistry* CXios::globalRegistry = 0; 
    3838  double CXios::recvFieldTimeout = 300.0; 
    39  
     39  
    4040  //! Parse configuration file and create some objects from it 
    4141  void CXios::initialize() 
     
    7474    minBufferSize = getin<int>("min_buffer_size", 1024 * sizeof(double)); 
    7575    maxBufferSize = getin<int>("max_buffer_size", std::numeric_limits<int>::max()); 
    76     recvFieldTimeout = getin<double>("recv_field_timeout", 10.0); 
     76    recvFieldTimeout = getin<double>("recv_field_timeout", recvFieldTimeout); 
    7777    if (recvFieldTimeout < 0.0) 
    7878      ERROR("CXios::parseXiosConfig()", "recv_field_timeout cannot be negative."); 
Note: See TracChangeset for help on using the changeset viewer.