From b7150d8026fec3ae147cb212ec472202250610f2 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 23 Nov 2020 01:25:33 +0000 Subject: [PATCH] don't update last seen in checkrunner --- api/tacticalrmm/apiv3/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/tacticalrmm/apiv3/views.py b/api/tacticalrmm/apiv3/views.py index cd9ba519..41c34814 100644 --- a/api/tacticalrmm/apiv3/views.py +++ b/api/tacticalrmm/apiv3/views.py @@ -144,8 +144,6 @@ class CheckRunner(APIView): def get(self, request, agentid): agent = get_object_or_404(Agent, agent_id=agentid) - agent.last_seen = djangotime.now() - agent.save(update_fields=["last_seen"]) checks = Check.objects.filter(agent__pk=agent.pk, overriden_by_policy=False) ret = {