And once again, all my data has gone :/
-
So, you didn't lose all your data? it was a configuration you changed?
-
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)
It seems NodeBB reads the
maxLag
within its config (so it's within your database at the keyconfig
) aseventLoopLagThreshold
.I'm not sure which db you are using...
MongoDB solution:
mongo -u mongo-user -p mongo-password # start interactive mongodb session use mongo-database-name db.objects.update({_key: "config"}, {$set: {eventLoopLagThreshold: 70}})
RedisDB solution:
Someone who knows more about
redis
than me should be able to help you here...
@team-redis -
@frissdiegurke said:
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)
It seems NodeBB reads the
maxLag
within its config (so it's within your database at the keyconfig
) aseventLoopLagThreshold
.I'm not sure which db you are using...
MongoDB solution:
mongo -u mongo-user -p mongo-password # start interactive mongodb session use mongo-database-name db.objects.update({_key: "config"}, {$set: {eventLoopLagThreshold: 70}})
RedisDB solution:
Someone who knows more about
redis
than me should be able to help you here...
@team-redisI use Redis yes.
Is it better to use MongoDB?
-
@MJ said:
I use Redis yes.
Is it better to use MongoDB?
I personally prefer MongoDB because I don't need the speed improvement on costs of persistence to disk. Whether it is better has to be decided per use-case and needs.
But because of that I did never learn any redis commands, so I can't help you out with commands to fix your configuration.There are a few discussions on the differences of both databases to be found on this board if you're interested in more details.