* Rewrite the lock file's recorded `port` to the one actually bound. Used * when the requested port was busy (held by a third-party process) and the * server retried on `port + 1`: the lock must advertise the real port so * `kimi server status` / `kill` / `ps` can find the daemon. Best-effo
(port: number)
| 90 | * pid, or already records `port`. |
| 91 | */ |
| 92 | updatePort(port: number): void; |
| 93 | } |
| 94 | |
| 95 | /** Error thrown when another server is already holding the lock. */ |
no outgoing calls
no test coverage detected