[mythtv-firehose] mythtv branch devel/logging-zeromq updated by beirdo. v0.26-pre-263-gedce592

Git Repo Owner noreply at mythtv.org
Fri May 11 03:08:55 UTC 2012


The branch, devel/logging-zeromq has been updated on the
mythtv repository by gitolite user beirdo.
       via  edce592897ea4dbb300404be5ab4314010436b01 (commit)
      from  2cc4bdc341d015d0324b98172447a0a0e9a9cbfa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit edce592897ea4dbb300404be5ab4314010436b01
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Thu, 10 May 2012 20:06:35 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Thu, 10 May 2012 20:06:35 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=edce592897ea4dbb300404be5ab4314010436b01

Split the logserver into two threads
It seems under stress, the heartbeats get lost, causing all of the clients to
reconnect.  To combat this, I have moved the reception into its own thread,
and the logging into another.  In doing this, I have created two separate
ZeroMQ contexts as well, and changed the polling interval for the TCP reception
to 1ms rather than the default 10ms.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/logging.cpp       |   26 +-
 mythtv/libs/libmythbase/logging.h         |    4 +-
 mythtv/libs/libmythbase/loggingserver.cpp |  576 ++++++++++++++++-------------
 mythtv/libs/libmythbase/loggingserver.h   |   45 ++-
 4 files changed, 379 insertions(+), 272 deletions(-)

-- 



More information about the mythtv-firehose mailing list