Explorar el Código

remove debug code

Yuki Takei hace 6 años
padre
commit
f466b3f495
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/server/util/search.js

+ 0 - 1
src/server/util/search.js

@@ -385,7 +385,6 @@ SearchClient.prototype.addAllPages = async function() {
       { path: 'creator', model: 'User', select: 'username' },
       { path: 'revision', model: 'Revision', select: 'body' },
     ])
-    .limit(500) // FIXME: remove debug code
     .snapshot()
     .lean()
     .cursor();