pylint formatting

This commit is contained in:
Jimmy Zelinskie 2016-10-28 17:11:54 -04:00
parent a30b358709
commit 8b9f9478a4
3 changed files with 20 additions and 13 deletions

View file

@ -8,12 +8,15 @@ from app import secscan_notification_queue, secscan_api
from workers.queueworker import QueueWorker, JobException
from util.secscan.notifier import process_notification_data
logger = logging.getLogger(__name__)
_READING_SECONDS = 120 # 2 minutes
_PROCESSING_SECONDS = 60 * 60 # 1 hour
_LAYER_LIMIT = 100 # The number of layers to request on each page.
class SecurityNotificationWorker(QueueWorker):
def process_queue_item(self, data):
self.perform_notification_work(data)