-
Notifications
You must be signed in to change notification settings - Fork 117
Description
Upgrading from old version 1.3.4. to newest 2.7.2 blocked our Email template generation on CORP environments. Good thing that we noticed during tests. It was fine in light load, but started to block when creating a lot of templates concurrently. Upgrading to 2.7.2 required to upgrade AngleSharp to version >=1.3.0, and we upgraded to 1.3.0 version from version 0.17.1.
When testing locally via UnitTests it was running fine, even in case of high load and concurrency, but on CORP environments, where JobScheduler is running as AspNet Web.Api2 (net4.8) app, it started to stall. Jobs started to pile up, and could not process. Some were blocked for hours, and could not finish.
While taking memory dumps and checking threads, most of the threads were stalled in some of the AngleSharp code (random, not always the same), rarely in PreMailer code. It was either in PreMailer constructor or call to MoveCssInline.
After we reverted back to 1.3.4. everything is working fine again. Did you have issues like this in past?
Plan is to upgrade to v2.4.0, as that does not require AngleSharp upgrade and will test next week.
Thanks,
Srecko