symfony/DoctrineMongoDBBundle — pull request #46 by magnusnordlander (2011-10-13 08:48:36+00:00)
Title: Raised the priority of the cache warmers

The cache warmers are currently at priority 0, together with e.g. the routing cache warmer.

In EbutikMongoSessionBundle we have an issue that if using it together with Assetic routes and translation, the session may be started before hydrators and proxies are generated, which may cause an attempt to fetch a document. This of course fails, because there's no hydrators.

In the general case though, it's definitely conceivable that you might want cache warmers that accesses MongoDB ODM, and that makes it entirely appropriate for these cache warmers to have a higher priority than 0.