This source will maintain a connection to gerrit ssh server that will
provide us gerrit events in json format.
|
|
|
|
|
|
|
eventReceived_patchset_created(self,
properties,
event) |
source code
|
|
|
eventReceived_ref_updated(self,
properties,
event) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from base.ChangeSource :
__provides__
Inherited from twisted.application.service.Service :
__getstate__ ,
__providedBy__ ,
disownServiceParent ,
privilegedStartService ,
setName ,
setServiceParent
Inherited from util.ComparableMixin :
__cmp__ ,
__hash__
|
|
compare_attrs = [ ' gerritserver ' , ' gerritport ' ]
|
|
STREAM_GOOD_CONNECTION_TIME = 120
(seconds) connections longer than this are considered good, and reset
the backoff timer
|
|
STREAM_BACKOFF_MIN = 0.5
(seconds) minimum, but nonzero, time to wait before retrying a failed
connection
|
|
STREAM_BACKOFF_EXPONENT = 1.5
multiplier used to increase the backoff from MIN to MAX on repeated
failures
|
|
STREAM_BACKOFF_MAX = 60
(seconds) maximum time to wait before retrying a failed connection
|
Inherited from base.ChangeSource :
__implemented__ ,
master
Inherited from twisted.application.service.Service :
name ,
parent ,
running
|