summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-17 18:22:36 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-17 18:22:36 +0200
commit76f13c34f390e7dbbadb2051cda316f0060bdbff (patch)
tree3de5c0342318d513de72f41d051b305838bf2976 /config.mk
parent8f78b632bf246c6f420735229bad0340f99bb25e (diff)
Minor changes
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 2a172dd..db3dc4e 100644
--- a/config.mk
+++ b/config.mk
@@ -9,7 +9,7 @@ SUBSCRIBER_ADDR=10.128.0.133
ZMQ_TOKEN=ina260-zmq-publisher
# ZMQ_MSG_SIZE max number of bytes per ZeroMQ messages
# Be careful with this parameter. Default is 5MiB
-# Units is MiB
+# Units is bytes
ZMQ_MSG_SIZE=5242880
##### Loggers/Publisher
@@ -19,7 +19,7 @@ LOGGERS_DIR=/tmp/ina260_logs/
# LOGGERS_DELAY defines the delay between 2 consecutive
# ina260 power read performed by the logger
# Unit is milliseconds
-LOGGERS_DELAY=1000
+LOGGERS_DELAY=0
# SUBSCRIBER_DIR will contain all the measurments
# received from the publishers
SUBSCRIBER_DIR=./data
@@ -28,7 +28,7 @@ SUBSCRIBER_DIR=./data
# a file with all the power measurements is generated by the loggers in LOGGERS_DIR
# This file, is then transmitted by the publishers to the subscriber
# Unit is seconds
-LOG_INTERVAL=5
+LOG_INTERVAL=20
# KEY is attached to all the messages published by the node
# It allows you to filter the messages received on the client
# if you are using multiple monitoring nodes (multiple publishers)