Hello,
/confdConfig/capi/queryTimeout
is by default set to 120 seconds and can be modified in the confd.conf
.
This applies for all data callbacks.
In case one data callback (I assume your operational command is implemented as data callback) needs to increase the timeout, the confd_data_set_timeout
function can be used. See documentation for confd_lib_dp
.
Copied description:
A data callback should normally complete "quickly", since
e.g. the execution of a 'show' command in the CLI may require many
data callback invocations.
Thus it should be possible to set the /confdConfig/capi/queryTimeout in
confd.conf (see above) such that it covers the longest possible execution time
for any data callback.
In some rare cases it may still be necessary for a data callback to have a longer
execution time, and then this function can be used to extend (or
shorten) the timeout for the current callback invocation. The timeout
is given in seconds from the point in time when the function is
called.