Skip to content

Commit

Permalink
Update maxIOfailures default to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsavulescu committed Oct 30, 2024
1 parent 0bad1fb commit 268c070
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ project(
LANGUAGES CXX
)

set(PROJECT_VERSION 1.0.0)
set(PROJECT_VERSION 1.0.1)

configure_file(config.h.in configured/config.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/configured)
Expand Down
2 changes: 1 addition & 1 deletion Common/Constants.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Common {
uint32_t Constants::TSAP_PORT_LOCAL = 0; // Read from PVSS on driver startup from config file
uint32_t Constants::TSAP_PORT_REMOTE = 0; // Read from PVSS on driver startupconfig file
uint32_t Constants::POLLING_INTERVAL = 2; // Read from PVSS on driver startupconfig file, default 2 seconds
uint32_t Constants::MAX_IO_FAILURES = 5; // Read from PVSS on driver startupconfig file, default 2 seconds
uint32_t Constants::MAX_IO_FAILURES = 1; // Read from PVSS on driver startupconfig file, default 1 time
uint32_t Constants::CYCLE_INTERVAL = 1; // Read from PVSS on driver startupconfig file, default 1 second
bool Constants::SMOOTHING = true; // Read from PVSS on driver startupconfig file
std::string Constants::drv_version = PROJECT_VER;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ smoothing = 1
cycleInterval = 1
# Set max number of IO failures before disconnecting and connecting again
maxIoFailures = 5
maxIoFailures = 1
```

<a name="toc5"></a>
Expand Down

0 comments on commit 268c070

Please sign in to comment.