* BWmon is now event driven and handles reboots. Also got rid of ALL legacy code.
[nodemanager.git] / nm.py
diff --git a/nm.py b/nm.py
index c4760fc..243a782 100644 (file)
--- a/nm.py
+++ b/nm.py
@@ -15,7 +15,7 @@ import tools
 
 from config import Config
 from plcapi import PLCAPI 
-
+import random
 
 savedargv = sys.argv[:]
 
@@ -75,7 +75,7 @@ def run():
         while True:
             try: GetSlivers(plc)
             except: logger.log_exc()
-            time.sleep(options.period)
+            time.sleep(options.period + random.randrange(0,301))
     except: logger.log_exc()