File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ option(ENABLE_PYTHON "Include bindings for Python 3" OFF)
4646set (READ_INACTIVE_TIMEOUT 20 CACHE STRING "Maximum number of seconds waiting for new data once some data have arrived" )
4747set (READ_ACTIVE_TIMEOUT 300 CACHE STRING "Maximum number of seconds for receiving a full message" )
4848set (MAX_PSPOLL_THREAD_COUNT 6 CACHE STRING "Maximum number of threads that could simultaneously access a ps_poll structure" )
49+ set (TIMEOUT_STEP 100 CACHE STRING "Number of microseconds tasks are repeated until timeout elapses" )
4950set (SCHEMAS_DIR "${CMAKE_INSTALL_PREFIX} /${DATA_INSTALL_DIR} " CACHE STRING "Directory with internal lnc2 schemas" )
5051
5152if (ENABLE_DNSSEC AND NOT ENABLE_SSH)
Original file line number Diff line number Diff line change 7373 */
7474#define NC_PS_QUEUE_SIZE @MAX_PSPOLL_THREAD_COUNT@
7575
76+ /* Microseconds after which tasks are repeated until the full timeout elapses.
77+ * A millisecond (1000) should be divisible by this number without remain.
78+ */
79+ #define NC_TIMEOUT_STEP @TIMEOUT_STEP@
80+
7681/* Portability feature-check macros. */
7782#cmakedefine HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
7883
Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ extern "C" {
4141/** @brief Default NETCONF over TLS Call Home port */
4242#define NC_PORT_CH_TLS 4335
4343
44- /** @brief Microseconds after which tasks are repeated until the full timeout elapses.
45- * A millisecond (1000) should be divisible by this number without remain.
46- */
47- #define NC_TIMEOUT_STEP 50
48-
4944/**
5045 * @brief Set RPC callback to a schema node.
5146 *
You can’t perform that action at this time.
0 commit comments