Commit Graph

187 Commits (8a6345ded7df6ad116dd3b33be24a125c4af7c29)

Author SHA1 Message Date
Barış Soner Uşaklı 8a6345ded7 possible fix for pubsub
Ben Lubar e85aabbe74 Allow running as a cluster without Redis ()
* [database/*] Allow databases other than Redis to provide pubsub for clustering if Redis is not present

* [pubsub] Delay messages sent before the database is ready until the database is ready.

* [pubsub] Restore old behavior of not using the database in non-clustered NodeBB instances.

See comment: https://github.com/NodeBB/NodeBB/pull/6233#issuecomment-357814968
Baris Usakli 5ca3b535e7 closes
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
Barış Soner Uşaklı 7ad4420b6a closes
Baris Usakli 7fe239229d show 3 digits
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash
Barış Soner Uşaklı fd0043f36a more tests
Barış Soner Uşaklı 54a9e7eab9
Barış Soner Uşaklı 33f135c091 closes
barisusakli b91b41dfa3 show database values in gbs
barisusakli b7b65c7d63 change style
barisusakli 65a65b19c0 tests for
barisusakli 9f8d80e3a4 closes
Peter Jaszkowiak 57696b22f4 Partial fix
Barış Soner Uşaklı 6b0a907ede closes
Julian Lam b6134b160e moved auto_reconnect out of socketOptions object for Mongo
barisusakli 5e0de4b8fb closes
barisusakli 0c7dee05ef fix lint
barisusakli 92fa9fecb6 add mongodb connection options
increase reconnect tries
add keepAlive setting
set autoReconnect to true, should be on by default
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak b1b486f729 ESlint quote-props
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
Peter Jaszkowiak 1cf25f57fc ESlint no-space-func
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
Dominic Lennon 3f116e7636 Fixing null ttl issue for MongoSession
Dominic Lennon b1f0f8fa8b Adding ttl value to the MongoStore options
Dominic Lennon a06e39528f Code review change
Dominic Lennon ed19454eca Adding more specific timing for session timings
Dominic Lennon d248ef95cd Fix for issue . SessionStore now uses the correct value
Barış Soner Uşaklı e0501656b6 parallel startup
Barış Soner Uşaklı bca6151892 fix lint
Barış Soner Uşaklı 8c8e2ae190 closes
barisusakli 1c3d9f7e94 switch to createIndex
barisusakli 5d6e2ad083 multiple test fixes
barisusakli 6d97c4cec8 up mongo deps, create session store after db.authenticate
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
barisusakli 3275d26590 removed comments
Nguyen Trung Quan 279559ff97 Fix: Memory leak & connection flood when access /admin/advanced/database
barisusakli 7f041a756d closes
wktang 414a26fe42 Default mongodb db name should be "nodebb" instead of 0 (unlike redis). ()
Mr.Lee 3e2f36fc29 Make the description more clear.
The same description in mongo.js  and install.js are ambiguous.
barisusakli 20ca1e40aa fallback
barisusakli d44d036b67 up mongodb connect-mongo remove workaround
barisusakli 7185463d81 display avg object size in bytes
barisusakli dcbf53bae3 moved search to dbsearch
barisusakli a1dca63914 fileSize fix
barisusakli a9fae94e5a switch to dbStats, only display fileSize if it exists
barisusakli 5fda800f2b filter info