Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

439
Views
El uso de nivel superior de w, wtimeout, j y fsync está en desuso. Use writeConcern en su lugar

Estoy usando mongodb con loopback y en una conexión exitosa recibo la siguiente advertencia

 Top-level use of w, wtimeout, j, and fsync is deprecated. Use writeConcern instead.

versión de bucle invertido: 5.5.0

¿Cómo deshacerse de esto? Por favor ayuda

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Aparentemente, esta advertencia se introdujo en Mongo Driver v3.6.4 , por lo que la solución básica será bajar de nivel a v3.6.3. Hay un PR que intenta detener las salidas de advertencia y también un informe sobre Jira para el Node Driver. https://jira.mongodb.org/browse/NODE-3114

Actualización: el problema se ha solucionado con la versión 3.6.5

over 4 years ago · Santiago Trujillo Report

0

Pasa las siguientes opciones

 mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true, useFindAndModify: false, useUnifiedTopology: true, useCreateIndex: true })
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!