Shin
Shin
The application has event loop, and calls the sr_module_change_subscribe with " SR_SUBSCR_DEFAULT | SR_SUBSCR_DONE_ONLY " with different module mutiple times.( with the same connection and the same session and the...
in the callback for sr_module_change_subscribe() I just using unix domain socket( no other user) send notifications to the remote side. No other subscribe function called. `have 34 subscribers` but the...
> o `it may take some time` In normal case the notification will only takes some ~50 us. The timeout takes 5 seconds. so I guess some lock causes both...
In the callback I do not do anything special(no sysrepo api called inside the callback). when timeout happens, I see the callback is not even triggered. `Are you maybe subscribed...
OK, I will have a try and let you know the result. thanks.
@michalvasko in `sr_subscription_process_events` it call lock like this way 1. /* SUBS READ LOCK */ 2. /* CONTEXT LOCK */ https://github.com/sysrepo/sysrepo/blob/df89fc02e301cc8f2e6b30ec37b990f52ca1d5c4/src/sysrepo.c#L4060 But in `sr_module_change_subscribe` it call the same locks in...
OK, I will have a try and let you know the result later. thanks.
I do not found the issue repeated recently, let us close this ticket firstly. if more logs found in new version I will update it.. Thank you very much.
Recently do not focus this item and then let close this ticket and if something happens later in new release I will raise new one. Thank you for your help.
Then I can write some code like e.g ``` #if LIBNETCONF2_VERSION_NUMBER < 0x400L nc_client_ssh_set_auth_hostkey_check_clb(); #else nc_client_ssh_set_knownhosts_mode(); #endif