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: