How do I set timeout to no limit on Doctrine2 for MongoDb used in 
Symfony2.3? Tried to set the limit and the query after 30 seconds timesout 
but the 'raw' query works fine on Mongodb CLI which takes about 90 seconds 
(or more) to complete.


$qb = $this->createQueryBuilder('BaseLog')->hydrate(true)
 ->field('template_id')->Equals($templateId);...return 
$qb->getQuery(array('timeout' => -1))->execute();

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to