You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/08/14 17:21:12 UTC

[GitHub] [celix] Oipo commented on a change in pull request #274: Reuse etcd connection to prevent storm of new sockets

Oipo commented on a change in pull request #274:
URL: https://github.com/apache/celix/pull/274#discussion_r470754770



##########
File path: libs/etcdlib/test/etcdlib_test.c
##########
@@ -98,6 +97,7 @@ int waitforchangetest() {
 	sleep(1);
 	etcdlib_set(etcdlib, "hier/ar/chi/cal", "testvalue3", 5, false);
 	void *resVal = NULL;
+	printf("joining\n");

Review comment:
       It helped me in detecting an issue where etcdlib_watch was blocking other threads, made me see that one thread was waiting on the others. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org