celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] Oipo commented on a change in pull request #274: Reuse etcd connection to prevent storm of new sockets
Date Fri, 14 Aug 2020 17:21:12 GMT

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



Mime
View raw message