Changeset - 7ca29efbdca3
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 20 months ago 2023-05-28 00:56:49
drewp@bigasterisk.com
update loop rates
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/collector/service.py
Show inline comments
 
@@ -31,6 +31,7 @@ from starlette_exporter import Prometheu
 

	
 
STAT_SETATTR = Summary('set_attr', 'setAttr calls')
 

	
 
RATE=20
 

	
 
class Updates(WebSocketEndpoint, UiListener):
 

	
 
@@ -84,7 +85,7 @@ def main():
 
            #           port=6445,
 
            #           rate=rate),
 
            #sudo chmod a+rw /dev/bus/usb/003/021
 
            Udmx(L9['output/dmxA/'], bus=3, address=21, lastDmxChannel=200),
 
            Udmx(L9['output/dmxA/'], bus=3, address=21, lastDmxChannel=200, rate=RATE),
 
        ]
 
    except Exception:
 
        log.error("setting up outputs:")
light9/effect/sequencer/service.py
Show inline comments
 
@@ -22,7 +22,7 @@ from light9.effect.sequencer.sequencer i
 
from light9.metrics import metrics
 
from light9.run_local import log
 

	
 
RATE = 30
 
RATE = 20
 

	
 

	
 
async def changes():
0 comments (0 inline, 0 general)