Skip to content

refactoring: speed up grammar parsing

Denis Smirnov requested to merge issue476 into main

Everything started from the flaky test from #476 (closed). The root of the problem was in a low speed of the query parsing - pest blocked the event loop on the router for too long and some vshard RPCs failed with timeout errors. Current MR is not a silver bullet, but it speeds up the parsing a little (the problematic query really improves its time and doesn't produce timeout errors).

Merge request reports