Stop workspace port warning timer after allocation
This commit is contained in:
@@ -146,6 +146,7 @@ export class WorkspaceRuntime {
|
|||||||
const portMatch = line.match(/opencode server listening on http:\/\/.+:(\d+)/i)
|
const portMatch = line.match(/opencode server listening on http:\/\/.+:(\d+)/i)
|
||||||
if (portMatch) {
|
if (portMatch) {
|
||||||
portFound = true
|
portFound = true
|
||||||
|
stopWarningTimer()
|
||||||
child.removeListener("error", handleError)
|
child.removeListener("error", handleError)
|
||||||
const port = parseInt(portMatch[1], 10)
|
const port = parseInt(portMatch[1], 10)
|
||||||
this.logger.info({ workspaceId: options.workspaceId, port }, "Workspace runtime allocated port")
|
this.logger.info({ workspaceId: options.workspaceId, port }, "Workspace runtime allocated port")
|
||||||
|
|||||||
Reference in New Issue
Block a user