This website requires JavaScript.
Explore
Help
Register
Sign In
yv01p
/
Umbraco-CMS
Watch
1
Star
0
Fork
0
You've already forked Umbraco-CMS
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
a82035061ccbbc1435d00289becafafe7811c19d
Umbraco-CMS
/
src
/
Umbraco.Web
/
PublishedCache
/
XmlPublishedCache
/
XmlCacheFilePersister.cs
Shannon
a82035061c
Updates BackgroundTaskRunner to support async operations. Updates the content xml cache file persisting to use a IBackgroundTask instead of the strange queuing for persistence - which was super strange because in many cases another request thread will actually be the thread that is persisting the xml file than the request thread that requested it created. This implementation is far better, the xml file will be persisted on a non request thread and will handle multiple documents being published at the same time guaranteeing that the latest published version is the one persisted. The file persistence is also web aware (due to how BackgroundTaskRunner works) so during app shutdown the file will still be written if it's currently being processed.
2015-03-27 14:47:41 +11:00
3.5 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink