kamsar / Dianoga

An automatic image optimizer for the Sitecore media library.
Other
104 stars 45 forks source link

Dianoga doesn't fail gracefully when it can't create temp files #35

Closed sebastianlay closed 6 years ago

sebastianlay commented 6 years ago

For some probably unrelated reason we had too many temp files which caused Path.GetTempFileName(); (used in https://github.com/kamsar/Dianoga/blob/3.0/src/Dianoga/Optimizers/CommandLineToolOptimizer.cs#L178) to fail with an IOException. Unfortunately this led to Sitecore becoming almost unresponsive. It would be great if Dianoga would back off when too many of these calls fail.

kamsar commented 6 years ago

This is resolved in 4.0p1