mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
ptsoectate
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -78,7 +78,7 @@
|
||||
<script defer src="https://analytics.otter.land/script.js" data-website-id="82dd56a5-db44-4279-bd1e-a4d9fee39af7" data-domains="rover.otter.land"></script>
|
||||
<script defer src="https://analytics.otter.land/recorder.js" data-website-id="82dd56a5-db44-4279-bd1e-a4d9fee39af7" data-domains="rover.otter.land" data-sample-rate="0.15" data-mask-level="moderate" data-max-duration="300000"></script>
|
||||
<title>Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-Bf4Pfwl6.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-Bi6EaYls.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-MAURNhur.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -32,6 +32,7 @@ const SNAPSHOT_DIR = process.env.ROVER_SNAPSHOT_DIR || '/var/lib/rover-snapshots
|
||||
const SNAPSHOT_POLL_MS = 300;
|
||||
const SNAPSHOT_STREAM_INTERVAL_MS = 2000;
|
||||
const SPOTLIGHT_VERIFY_DELAY_MS = 1200;
|
||||
const PUBLISHER_STDERR_SYNC_MS = 10000;
|
||||
|
||||
const events = new EventEmitter();
|
||||
const config = loadConfig();
|
||||
@@ -96,7 +97,7 @@ function schedulePublisherStateSync(reason = 'publisher') {
|
||||
publisherStderrSyncTimer = setTimeout(() => {
|
||||
publisherStderrSyncTimer = null;
|
||||
emitChange(reason);
|
||||
}, 500);
|
||||
}, PUBLISHER_STDERR_SYNC_MS);
|
||||
}
|
||||
|
||||
function updatePublisherState(patch = {}, reason = 'publisher') {
|
||||
@@ -397,7 +398,6 @@ function startPublisher() {
|
||||
lastStderr,
|
||||
lastEvent: 'stderr',
|
||||
};
|
||||
logger.warn('publisher stderr', { text: text.slice(0, 500) });
|
||||
schedulePublisherStateSync('publisher-stderr');
|
||||
});
|
||||
proc.on('exit', (code, signal) => {
|
||||
|
||||
Reference in New Issue
Block a user