Skip to content
Snippets Groups Projects
Commit 96078f29 authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

A bit more precise name for the polling interval

parent c6c2f157
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class Execute(CommandContainer):
DIRECTORY = "~"
POLL_TIME = 100
POLL_INTERVAL = 100
POLL_COUNT = 5
@command("exec", raw=True)
......@@ -63,7 +63,7 @@ class Execute(CommandContainer):
@classmethod
def monitor(cls, processor, popen):
poller = cls.poller(processor, popen)
timeout_add(cls.POLL_TIME, poller.next)
timeout_add(cls.POLL_INTERVAL, poller.next)
@classmethod
def poller(cls, processor, popen):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment