From b7b712e22be9f661fa80b852a0265b1569f76995 Mon Sep 17 00:00:00 2001 From: Thomas Maddox Date: Mon, 29 Apr 2013 13:49:16 -0500 Subject: [PATCH] reverted views.py changes --- stacktach/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stacktach/views.py b/stacktach/views.py index 1bb9020..a61eacf 100644 --- a/stacktach/views.py +++ b/stacktach/views.py @@ -450,9 +450,7 @@ def latest_raw(request, deployment_id): """This is the 2sec ticker that updates the Recent Activity box.""" deployment_id = int(deployment_id) c = _default_context(request, deployment_id) - #then = datetime.datetime.utcnow() - datetime.timedelta(hours=1) - #comment out below line and uncomment above line before commit; for local dev environment!!!! - then = datetime.datetime.utcnow() - datetime.timedelta(hours=24) + then = datetime.datetime.utcnow() - datetime.timedelta(hours=1) thend = dt.dt_to_decimal(then) query = models.RawData.objects.select_related().filter(when__gt=thend) if deployment_id > 0: