Merge pull request #3 from andreas-bulling/master
Update docker-compose.yml
This commit is contained in:
@@ -88,7 +88,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis
|
image: redis:5.0.0
|
||||||
container_name: redis
|
container_name: redis
|
||||||
# modify to get rid of the redis issue #35 and #19 with a better solution
|
# modify to get rid of the redis issue #35 and #19 with a better solution
|
||||||
# WARNING: /proc/sys/net/core/somaxconn is set to the lower value of 128.
|
# WARNING: /proc/sys/net/core/somaxconn is set to the lower value of 128.
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ const AuthenticationManager = {
|
|||||||
}
|
}
|
||||||
db.users.update(
|
db.users.update(
|
||||||
{
|
{
|
||||||
_id: ObjectId(userId.toString())
|
_id: ObjectId(userId._id.toString())
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
$set: {
|
$set: {
|
||||||
|
|||||||
Reference in New Issue
Block a user