mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
fix(server): Fix comment about timeout interval
The interval for checking for timeout of asynchronous operations is 1 second, not 100 seconds.
This commit is contained in:
parent
622318fcca
commit
cdb5fa035b
@ -176,7 +176,7 @@ UA_AsyncManager_init(UA_AsyncManager *am, UA_Server *server) {
|
|||||||
UA_LOCK_INIT(&am->queueLock);
|
UA_LOCK_INIT(&am->queueLock);
|
||||||
|
|
||||||
/* Add a regular callback for cleanup and sending finished responses at a
|
/* Add a regular callback for cleanup and sending finished responses at a
|
||||||
* 100s interval. */
|
* 1s interval. */
|
||||||
addRepeatedCallback(server, (UA_ServerCallback)checkTimeouts,
|
addRepeatedCallback(server, (UA_ServerCallback)checkTimeouts,
|
||||||
NULL, 1000.0, &am->checkTimeoutCallbackId);
|
NULL, 1000.0, &am->checkTimeoutCallbackId);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user