Open
Description
First noticed 2022-11-14 we had much higher cpu usage than usual
The cratesfyi
process was at 300% cpu usage. After restarting the process everything went back to normal.
Again on 2022-11-30 we noticed high cpu usage, this time checking the per-thread stats it was 2 unnamed threads causing it. Again a restart fixed it
I suspected it was related to #1842, so ran a script highlighting every readme from the production database dump, that managed to find one readme that hung at 100% cpu usage. Opened an upstream issue trishume/syntect#460, but this is likely not the only path through which this can be triggered.