ionide / Fornax

Scriptable static site generator using type safe F# DSL to define page templates.
MIT License
241 stars 44 forks source link

WebSocket refresh uses excesive CPU #57

Closed robertpi closed 4 years ago

robertpi commented 4 years ago

This version uses an event to signal that the content has changed, this means the socket loop will go into a wait state. The previous version continually checked a mutable variable without every waiting, meaning the CPU consumption was high

Krzysztof-Cieslak commented 4 years ago

Awesome, thanks!