Skip to content

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

Closed
@akat1978

Description

@akat1978

Since yesterday without any change on package.json or code change i am getting an error at console per request.

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

Any ideas?

I am using latest mongoDB version (4.4.3) container image

mongo datasource

 const config = {
      name: 'mongodb',
      connector: 'mongodb',
      host: '0.0.0.0',
      port: 27017,
      user: 'user',
      password: 'xxxxx',
      database: 'database',
      useNewUrlParser: true,
};

Please advice!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions