Skip to content

Commit

Permalink
Merge branch 'release/0.1.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Sep 4, 2018
2 parents e3cb939 + 46d293b commit 99d912c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
10 changes: 3 additions & 7 deletions bookied/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
import click

from rq import Connection, Worker, use_connection, Queue
from pprint import pprint
from dateutil import parser
from datetime import datetime
from prettytable import PrettyTable, ALL as ALLBORDERS
from bos_incidents import factory
from click_datetime import Datetime

from . import INCIDENT_CALLS
from .log import log
Expand Down Expand Up @@ -99,7 +94,8 @@ def retrigger_from_events(events, call):
approver=config.get("BOOKIE_APPROVER")
)
)

# only reply the first incident!
break

q = Queue("default")
# Empty queue!
Expand All @@ -110,7 +106,7 @@ def retrigger_from_events(events, call):
storage = factory.get_incident_storage()
for call in INCIDENT_CALLS:
for status_name in [
"insufficient incidents",
# "insufficient incidents",
"undecided",
"connection lost",
"related object not found",
Expand Down
2 changes: 1 addition & 1 deletion bookied/config-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ api_whitelist:


scheduler:
interval: 60
interval: 3600
expirations:
PostPoneIncidentException: 3600

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ redis
dateutils
colorlog
tqdm
strict_rfc3339

# Notifications
python-telegram-handler
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup
import sys

__VERSION__ = '0.1.8'
__VERSION__ = '0.1.9'

assert sys.version_info[0] == 3, "We require Python > 3"

Expand Down

0 comments on commit 99d912c

Please sign in to comment.