mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Nothing special really.
This commit is contained in:
parent
0591a9eb00
commit
4172f8a38f
@ -100,6 +100,7 @@ export default class TClient extends Client {
|
|||||||
serverSelectionTimeoutMS: 15000,
|
serverSelectionTimeoutMS: 15000,
|
||||||
waitQueueTimeoutMS: 50000,
|
waitQueueTimeoutMS: 50000,
|
||||||
socketTimeoutMS: 30000,
|
socketTimeoutMS: 30000,
|
||||||
|
tls: false,
|
||||||
family: 4
|
family: 4
|
||||||
}).then(()=>console.log(this.logTime(), 'Successfully connected to MongoDB')).catch(err=>{console.error(this.logTime(), `Failed to connect to MongoDB\n${err}`); exec('pm2 stop Daggerbot')})
|
}).then(()=>console.log(this.logTime(), 'Successfully connected to MongoDB')).catch(err=>{console.error(this.logTime(), `Failed to connect to MongoDB\n${err}`); exec('pm2 stop Daggerbot')})
|
||||||
this.login(this.tokens.main);
|
this.login(this.tokens.main);
|
||||||
|
Loading…
Reference in New Issue
Block a user