diff --git a/lib/cve_server/db/mongo.rb b/lib/cve_server/db/mongo.rb index 06aeb451..ee0c2694 100644 --- a/lib/cve_server/db/mongo.rb +++ b/lib/cve_server/db/mongo.rb @@ -44,7 +44,7 @@ def drop_all end def map_reduce(mapper, reducer, options = {}) - db[@collection].find({}, no_cursor_timeout: true).map_reduce(mapper, reducer, options).execute + db[@collection].find({}).map_reduce(mapper, reducer, options).execute end def remove_id(record)