Commit 26bca8cd authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with KillOldCliJob (call on a property, typo)

parent 8dbba78b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ class KillOldCliJob(BaseJob):
        while True:
            self.checkpoint()
            for client in self.manager.server.iterclients('cli'):
                if client.uptime() > (maxcon * 60):
                if client.uptime > (maxcon * 60):
                    self.manager.server.kill(client.login)
                #TODO: handle idleing.
            time.sleep(delay)