mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-27 20:35:38 -05:00
Increase timeout incase of host reboot.
This commit is contained in:
parent
2624885eab
commit
df0f30963f
@ -94,7 +94,7 @@ export default class TClient extends Client {
|
|||||||
mongoose.set('strictQuery', true);
|
mongoose.set('strictQuery', true);
|
||||||
await mongoose.connect(this.tokens.mongodb_uri, {
|
await mongoose.connect(this.tokens.mongodb_uri, {
|
||||||
autoIndex: true,
|
autoIndex: true,
|
||||||
serverSelectionTimeoutMS: 5000,
|
serverSelectionTimeoutMS: 12000,
|
||||||
socketTimeoutMS: 30000,
|
socketTimeoutMS: 30000,
|
||||||
family: 4,
|
family: 4,
|
||||||
keepAlive: true,
|
keepAlive: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user