Closed montyanderson closed 6 months ago
Firstly, thanks to everyone maintaining this fork of Arc – I've been using it to run a music aggregator and it's awesome.
However, I noticed that even a single request may saturate the CPU for multiple seconds, while filling the console with the following errors.
char-whitespace?: contract violation expected: char? given: #<eof> context...: /opt/textural/ac.rkt:1448:0: trash-whitespace /opt/textural/ac.rkt:1463:4
Refactoring the trash-whitespace function to handle the contract errors killed both birds with one stone!
trash-whitespace
Thank you!
Firstly, thanks to everyone maintaining this fork of Arc – I've been using it to run a music aggregator and it's awesome.
However, I noticed that even a single request may saturate the CPU for multiple seconds, while filling the console with the following errors.
Refactoring the
trash-whitespace
function to handle the contract errors killed both birds with one stone!