mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
feat: Send DriverInfo to MongoDB client (#11214)
This commit is contained in:
parent
81bb9d53e8
commit
a29e04750d
@ -553,6 +553,10 @@ export class MongoDriver implements Driver {
|
||||
}
|
||||
}
|
||||
|
||||
mongoOptions.driverInfo = {
|
||||
name: "TypeORM",
|
||||
}
|
||||
|
||||
if ("poolSize" in options) {
|
||||
mongoOptions["maxPoolSize"] = options["poolSize"]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user