style(workers): add in line
there should be two lines between functions and other code Issue: https://www.pivotaltracker.com/story/show/b144646649n - [ ] It works! - [ ] Comments provide sufficient explanations for the next contributor - [ ] Tests cover changes and corner cases - [ ] Follows Quay syntax patterns and format
This commit is contained in:
parent
50141c735b
commit
b40ad361db
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ from data.model import InvalidNotificationException
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class NotificationWorker(QueueWorker):
|
||||
def process_queue_item(self, job_details):
|
||||
notification_uuid = job_details['notification_uuid']
|
||||
|
|
|
@ -23,6 +23,7 @@ class WorkerUnhealthyException(Exception):
|
|||
queue along with another retry. """
|
||||
pass
|
||||
|
||||
|
||||
class QueueWorker(Worker):
|
||||
def __init__(self, queue, poll_period_seconds=30, reservation_seconds=300,
|
||||
watchdog_period_seconds=60, retry_after_seconds=300):
|
||||
|
|
Reference in a new issue