increase timeout for pi

This commit is contained in:
lone-cloud 2026-01-21 01:47:17 -08:00
parent 5b460cca95
commit b5c105be0e

View file

@ -170,7 +170,7 @@ export async function startDaemon() {
if (daemon && !daemon.killed) {
daemon.kill();
await Bun.sleep(500);
await Bun.sleep(5000);
}
try {
@ -225,7 +225,7 @@ export async function startDaemon() {
}
})();
await Bun.sleep(3000);
await Bun.sleep(5000);
try {
const socket = await Bun.connect({
@ -251,6 +251,11 @@ export async function startDaemon() {
if (proc.exitCode !== null) {
logError('signal-cli process exited with code:', proc.exitCode);
}
if (authError) {
logError('Account authorization failed. You may need to unlink and re-link your device.');
}
throw new Error('Failed to start signal-cli daemon');
}
}
@ -258,7 +263,7 @@ export async function startDaemon() {
export async function restartDaemon() {
if (daemon) {
daemon.kill();
await Bun.sleep(500);
await Bun.sleep(5000);
}
daemon = await startDaemon();
}