You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rb...@apache.org on 2020/06/28 06:12:01 UTC

[celix] branch hotfix/remove_EPOLOUT_event_to_reduce_cpu_load created (now 4c40981)

This is an automated email from the ASF dual-hosted git repository.

rbulter pushed a change to branch hotfix/remove_EPOLOUT_event_to_reduce_cpu_load
in repository https://gitbox.apache.org/repos/asf/celix.git.


      at 4c40981  remove EPOLLOUT

This branch includes the following new commits:

     new 4c40981  remove EPOLLOUT

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[celix] 01/01: remove EPOLLOUT

Posted by rb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rbulter pushed a commit to branch hotfix/remove_EPOLOUT_event_to_reduce_cpu_load
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 4c40981dc7cdef9019ab56af3fafbbfa280e8602
Author: Roy Bulter <ro...@gmail.com>
AuthorDate: Sun Jun 28 08:10:59 2020 +0200

    remove EPOLLOUT
---
 bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
index 3bb31cd..d630e5c 100644
--- a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
+++ b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c
@@ -1223,7 +1223,7 @@ int pubsub_tcpHandler_acceptHandler(pubsub_tcpHandler_t *handle, psa_tcp_connect
 #else
         struct epoll_event event;
         bzero(&event, sizeof(event)); // zero the struct
-        event.events = EPOLLIN | EPOLLRDHUP | EPOLLERR | EPOLLOUT;
+        event.events = EPOLLIN | EPOLLRDHUP | EPOLLERR;
         event.data.fd = entry->fd;
         // Register Read to epoll
         rc = epoll_ctl(handle->efd, EPOLL_CTL_ADD, entry->fd, &event);