From 4100398fc83f115e0696a6efc86908c8dcdd8029 Mon Sep 17 00:00:00 2001 From: Sam Wight Date: Mon, 14 Jan 2019 23:51:36 -0600 Subject: [PATCH] Added groundwork for next iteration. --- cron.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron.py b/cron.py index c03b611..135605f 100644 --- a/cron.py +++ b/cron.py @@ -18,6 +18,8 @@ time.sleep(1) + # Need to add graceful shutdown and support for interruptions. + # I.E. Need to be saving the current page in case of shutdown in Redis. for i in range(2, total_pages): current_page = get_user_page(current_user, i + 1) process_user_page(current_page)