Extra shutdown delay

Mon, 08 May 2017 16:32:43 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 08 May 2017 16:32:43 +0200
changeset 507
80344f433a78
parent 506
cdcd07bbee30 (current diff)
parent 505
727fe541a48d (diff)
child 508
9e67c5f9c994

Extra shutdown delay

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Mon May 08 16:26:02 2017 +0200
+++ b/thermferm/thermferm.c	Mon May 08 16:32:43 2017 +0200
@@ -1920,6 +1920,7 @@
 	syslog(LOG_NOTICE, "Unit `%s' stopped in mode %s", unit->name, UNITMODE[unit->mode]);
     }
 
+    usleep(100000);
     mqtt_disconnect();
 
     syslog(LOG_NOTICE, "Out of loop");

mercurial