config fixed, session server timeout increased
This commit is contained in:
@@ -11,6 +11,7 @@ const get_db = async () => {
|
||||
try {
|
||||
await client.connect()
|
||||
} catch (err) {
|
||||
console.log('can not connect to database')
|
||||
return null
|
||||
}
|
||||
return client.db(database_name)
|
||||
|
||||
Reference in New Issue
Block a user