02d0651f29
Previously we gave every event a 20 minute timeout. This meant that we could eventually rollover on the day and start querying against current indexes for data in older indexes. If this happens every query would fail because we are looking in the wrong index. Every query failing means we run the 20 minute timeout every time. All this results in snowballing never being able to check if events are indexed. Address this by using the gerrit eventCreatedOn timestamp to determine when our timeout is hit. We will timeout 20 minutes from that timestamp regardless of how long interim processing has taken us. This should over longer periods of time ensure we query the current index for current events. Change-Id: Ic9ed7fefae37d2668de5d89e0d06b8326eadfbb9 |
||
---|---|---|
.. | ||
cmd | ||
tests | ||
__init__.py | ||
bot.py | ||
config.py | ||
elasticRecheck.py | ||
loader.py | ||
log.py | ||
query_builder.py | ||
results.py |