mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
fix(app): provide pty socket auth if available from desktop (#8210)
This commit is contained in:
parent
f3b7d2f786
commit
35cb06e0e4
3 changed files with 8 additions and 5 deletions
|
|
@ -441,7 +441,7 @@ async fn spawn_local_server(
|
|||
|
||||
let timestamp = Instant::now();
|
||||
loop {
|
||||
if timestamp.elapsed() > Duration::from_secs(7) {
|
||||
if timestamp.elapsed() > Duration::from_secs(30) {
|
||||
break Err(format!(
|
||||
"Failed to spawn OpenCode Server. Logs:\n{}",
|
||||
get_logs(app.clone()).await.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue