
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
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
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.