Skip to content

Conversation

sigmaSd
Copy link
Contributor

@sigmaSd sigmaSd commented Jul 30, 2025

The current timeout failed many times on my pc, 5 seconds seems to be safer

Also if it fails, some times it segfaults at exit, seems like a double free somewhere, I tried following the trace with gdb but its not straight forward, you can reproduce if you make the time out 0 and try to open it many times

ref webui-dev/deno-webui#64 (comment)

@AlbertShown
Copy link
Contributor

Yes, I think 1.5s is too short, and 10-30s maybe too long, so 5s looks better.

@AlbertShown AlbertShown merged commit cfa5c45 into webui-dev:main Jul 30, 2025
24 checks passed
@AlbertShown
Copy link
Contributor

I set timeout to 0 and I tested it with the C examples, and also with Deno examples, I can't reproduce the segfault issue. However, if increasing the timeout from 1500 to 5000 solved your issue, then all fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants