Jeremy Stanley 6fc83f806f Feature: Keep alive interval of 60 by default
In situations where the Gerrit server dies suddenly (not a clean
process or system shutdown, but loss of networking or an underlying
hypervisor crash), the TCP socket for the stream-events feed can be
left indefinitely hung since the client has no reason to send new
messages and will never notice that there are no further messages
arriving from the server.

Gerritlib exposes a keep alive option for Gerrit stream-events
connections which can double as a sort of dead peer detection, but
it defaults to 0 (off). Set this to 60 seconds, while allowing it to
be configured to an arbitrary value in case this is unsuitable.

Change-Id: Ib92f1ee819f060dc52163735fe8d87d6d82ab788
2025-02-10 15:22:09 +00:00
2019-04-19 19:26:00 +00:00
2012-08-02 16:37:04 -07:00
2013-06-02 10:37:00 -04:00
2015-02-27 22:14:00 -05:00

GerritBot

Gerritbot is an IRC bot that will notify IRC channels of Gerrit events.

To install:

$ sudo python setup.py install

Online documentation:

Developers

Report bugs:

Browse code:

Clone:

Submit patches via Gerrit at:

More details on how you can contribute is available on our wiki at:

License

Copyright 2011 OpenStack, LLC Copyright 2012-2013 Hewlett-Packard Development Company, L.P.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Description
IRC bot that reports on Gerrit events
Readme 1 MiB
Languages
Python 86.3%
Shell 10.2%
Dockerfile 3.5%