Open moalamri opened 4 months ago
Ok thanks, we'll take a look at that. Strange since it works without much processing on my end
Hi @Fajfa Whenever this happens, I check the action log and it's filled with such records
Please let me know if I can do anything else to helps you debug this Thank you
@Fajfa I’m sorry for closing the issue earlier because I thought it was from my setup. Glad to see that you have spotted the issue.
@moalamri
I believe the root of the issue lies within Dart-Sass, particularly regarding the specific versions of Dart-Sass you're using. Could you please provide the dart-sass version and if possible the style sheets as well?
I've repeteadly updated my stylesheets on corteza's custom-css-editor
to lines spanning more than 25k while monitoring my CPU, which showed a steady pattern of spikes and drops.
Furthermore, there have been documented reports of CPU performance issues associated with Dart-Sass, as indicated by various issues such as:
Nevertheless, the Dart-Sass team asserts that many of these performance issues have been addressed in versions beyond v1.61.0.
Hey @KinyaElGrande
I'm sorry for not being able to reproduce this again since I don't using Corteza for now and I remember it was a bit tricky to get it up and running because of proxy
network is not being created or something, so I can't setup it again for further debugging.
I remember my Custom CSS was only few lines ~10 line or so. So, it wasn't a matter of payload size... I wish I could be more helpful. I hope you can figure the issue and fix it if it does exist with other users.
Is there an existing issue for this?
Version of Corteza
2023.9
Current Behavior
When editing the Custom CSS, most of the time it runs ok, but sometimes it takes alot of time before returning a timeout, I monitored the server resources and it shows as following![IMG_7318](https://github.com/cortezaproject/corteza/assets/964077/e6b58922-62fb-4bd6-a26b-0f00317199a3)
Expected Behavior
No response
Steps To Reproduce
Environment and versions
No response
Anything else?
No response