diff --git a/server/src/uds/core/jobs/DelayedTaskRunner.py b/server/src/uds/core/jobs/DelayedTaskRunner.py index f3d5c3228..1b5abf9b6 100644 --- a/server/src/uds/core/jobs/DelayedTaskRunner.py +++ b/server/src/uds/core/jobs/DelayedTaskRunner.py @@ -44,7 +44,7 @@ import threading import time import logging -__updated__ = '2015-10-16' +__updated__ = '2016-02-01' logger = logging.getLogger(__name__) @@ -100,7 +100,7 @@ class DelayedTaskRunner(object): def executeOneDelayedTask(self): now = getSqlDatetime() - filt = Q(execution_time__lt=now) | Q(insert_date__gt=now) + filt = Q(execution_time__lt=now) | Q(insert_date__gt=now + timedelta(seconds=30)) # If next execution is before now or last execution is in the future (clock changed on this server, we take that task as executable) taskInstance = None try: diff --git a/server/src/uds/reports/stats/usage_by_pool.py b/server/src/uds/reports/stats/usage_by_pool.py index c68c9b561..eca219550 100644 --- a/server/src/uds/reports/stats/usage_by_pool.py +++ b/server/src/uds/reports/stats/usage_by_pool.py @@ -138,8 +138,8 @@ class UsageByPool(StatsReport): logins = {} data = [] for i in items: - if '\\' in i.fld1: - continue + # if '\\' in i.fld1: + # continue if i.event_type == events.ET_LOGIN: logins[i.fld4] = i.stamp