feat: do not store each infos of each node

This commit is contained in:
2025-10-01 20:45:55 +02:00
parent dbb3b5bfd3
commit 99e7ed4809
6 changed files with 6 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ console.log(`Broadcasting color changes to http://${host}/api/cluster/event ...`
setInterval(() => {
const color = colors[idx % colors.length];
idx++;
const payload = { color, brightness: 128 };
const payload = { color, brightness: 80 };
console.log('Broadcasting color:', payload);
postClusterEvent('api/neopattern/color', payload);
}, 5000);