dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
120 stars 48 forks source link

Read from the pipeProcess pipe every 50ms #649

Closed wilzbach closed 6 years ago

wilzbach commented 6 years ago

This is a rather tricky issue we ran into as the code worked well for everything except big AST examples and funnily I couldn't even reproduce this locally. The problem of run.dlang.io currently timing out for the AST display is that the pipe buffer is filled up and then it essentially blocks. Imho the documentation (if not more) should definitely be improved:

https://issues.dlang.org/show_bug.cgi?id=18309