feat: cleanup stale browser slots
This commit is contained in:
@@ -144,6 +144,9 @@ if (require.main === module) {
|
|||||||
await connectDB();
|
await connectDB();
|
||||||
await syncDB();
|
await syncDB();
|
||||||
|
|
||||||
|
logger.log('info', 'Cleaning up stale browser slots...');
|
||||||
|
browserPool.cleanupStaleBrowserSlots();
|
||||||
|
|
||||||
await recoverOrphanedRuns();
|
await recoverOrphanedRuns();
|
||||||
await startWorkers();
|
await startWorkers();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user