summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAigars Mahinovs <aigarius@gmail.com>2019-01-17 17:10:33 +0100
committerChristoph Lipka <clipka@users.noreply.github.com>2019-02-02 22:46:13 +0100
commit034ad4fcab798fb746823cd75d1e55535327a0c5 (patch)
treee9c624bfdcb580a8ae654a5f1330124a8bcc6a0a
parent4f3ac9f3c1917bbf52cf43b9f10de4f6cfa9b06c (diff)
downloadDLT-daemon-034ad4fcab798fb746823cd75d1e55535327a0c5.tar.gz
Make dlt-convert more responsive when watching a file
-rw-r--r--src/console/dlt-convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/dlt-convert.c b/src/console/dlt-convert.c
index 8c71684..e709200 100644
--- a/src/console/dlt-convert.c
+++ b/src/console/dlt-convert.c
@@ -343,7 +343,7 @@ int main(int argc, char *argv[])
if (end == (file.counter - 1)) {
/* Sleep if no new message was received */
- sleep(1);
+ sleep(0.1);
}
else {
/* set new end of log file and continue reading */