Php MongoWriteBatch:execute抛出MongoCorSortimeoutException
我正在使用Php MongoWriteBatch:execute抛出MongoCorSortimeoutException,php,mongodb,Php,Mongodb,我正在使用MongoUpdateBatch $batch=new\MongoUpdateBatch($collection,['ordered'=>false,'wtimeout'=>500000]); 偶尔会出现以下错误: 读取0字节后读取超时,等待30.000000秒 跟踪: #8/var/app/current/src/Model/Campaign.php中的MongoCorSortimeoutException:286 #7 MongoWriteBatch:在/var/app/curr
MongoUpdateBatch
$batch=new\MongoUpdateBatch($collection,['ordered'=>false,'wtimeout'=>500000]);
偶尔会出现以下错误:
读取0字节后读取超时,等待30.000000秒
跟踪:
#8/var/app/current/src/Model/Campaign.php中的MongoCorSortimeoutException:286
#7 MongoWriteBatch:在/var/app/current/src/Model/Campaign.php:286中执行
#6 ...
出于什么原因可以MongoWriteBatch:execute()
抛出mongoCorSortimeoutException
,如何避免