Barış Soner Uşaklı
c27be9db5a
Recent refactor ( #6879 )
...
* wip
* fix inf scroll
* remove duplicated code
* remove dupe code in /unread
* use topicList
* update tag page to use topicList
* fix tests
* combine ifs
* remove more dupe code
* disable timeout
2018-10-27 06:26:50 -04:00
Barış Soner Uşaklı
986511e718
try with higher timeout
2018-10-16 21:43:40 -04:00
Barış Soner Uşaklı
0aebb9caf8
closes #6844
2018-10-16 20:27:14 -04:00
Barış Soner Uşaklı
9dbe68a9cb
testing again
2018-10-16 19:46:55 -04:00
Barış Soner Uşaklı
18d0deeccb
update deprecated methods ( #6794 )
2018-09-26 15:02:57 -04:00
Barış Soner Uşaklı
0519f84734
Promisify modules ( #6723 )
...
* WIP promisify
* promisify psql
* ability to skip some keys
* dont promisify client object
* remove async
* clone entire module so it has all properties
* add shim for node 6
* ignore sessionStore as well
* ignore pool on psql
2018-08-31 11:04:42 -04:00
Ben Lubar
33228bb7fe
PostgreSQL database driver ( #5861 )
...
* [test/database/list] Fix test list 4 being used in two different tests
* [database/postgres] PostgreSQL database driver
* [database/postgres] Make transactions work based on continuation scope.
* [database/postgres] Implement nested transactions
* eslint --fix
* Add database changes from earlier this week to the PostgreSQL driver.
* Fix typo
* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN
* [database/postgres] Fix sortedSetsCard returning an array of strings.
* Update socket.io postgres adapter
* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.
Add a test case to catch this error.
* Fix lint errors.
* Only prune sessions on one instance in a cluster to avoid deadlocks.
They're caught and handled by the database server, but they spam the logs.
* Fix arguments.slice.
2018-08-08 15:13:48 -04:00
Barış Soner Uşaklı
8263f81d0c
fix pubsub when only mongodb is used
2018-05-25 11:56:40 -04:00
Barış Soner Uşaklı
3b5d6951bb
closes #6499
2018-05-10 16:31:16 -04:00
Barış Soner Uşaklı
77d47b31fb
cleanly shutdown
...
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
2018-03-22 16:36:23 -04:00
Barış Soner Uşaklı
8a6345ded7
possible fix for pubsub
2018-01-22 16:41:22 -05:00
Ben Lubar
e85aabbe74
Allow running as a cluster without Redis ( #6233 )
...
* [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
2018-01-18 13:02:56 -05:00
Baris Usakli
5ca3b535e7
closes #6105
2017-11-22 12:19:08 -05:00
Peter Jaszkowiak
e609e497b3
Provide more error information to logs
...
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Barış Soner Uşaklı
7ad4420b6a
closes #6000
2017-10-23 15:09:13 -04:00
Baris Usakli
7fe239229d
show 3 digits
2017-06-20 16:34:34 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
fd0043f36a
more tests
2017-05-19 20:24:54 -04:00
Barış Soner Uşaklı
54a9e7eab9
#5674
2017-05-12 15:53:07 -04:00
Barış Soner Uşaklı
33f135c091
closes #5675
2017-05-12 15:40:09 -04:00
barisusakli
b91b41dfa3
show database values in gbs
2017-04-22 17:08:54 -04:00
barisusakli
b7b65c7d63
change style
2017-04-22 00:19:23 -04:00
barisusakli
65a65b19c0
tests for #5600
2017-04-16 14:46:02 -04:00
barisusakli
9f8d80e3a4
closes #5600
2017-04-16 14:22:40 -04:00
Peter Jaszkowiak
57696b22f4
Partial fix #5538
2017-03-30 03:17:45 -06:00
Barış Soner Uşaklı
6b0a907ede
closes #5552
2017-03-26 15:12:28 +03:00
Julian Lam
b6134b160e
moved auto_reconnect out of socketOptions object for Mongo
2017-03-21 15:55:24 -04:00
barisusakli
5e0de4b8fb
closes #5517
2017-03-10 12:22:10 +03:00
barisusakli
0c7dee05ef
fix lint
2017-03-10 00:38:34 +03:00
barisusakli
92fa9fecb6
add mongodb connection options #3670
...
increase reconnect tries
add keepAlive setting
set autoReconnect to true, should be on by default
2017-03-10 00:31:50 +03:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
b1b486f729
ESlint quote-props
2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
1cf25f57fc
ESlint no-space-func
2017-02-17 22:17:10 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
Dominic Lennon
3f116e7636
Fixing null ttl issue for MongoSession
2017-01-16 14:58:27 +00:00
Dominic Lennon
b1f0f8fa8b
Adding ttl value to the MongoStore options
2017-01-16 14:52:25 +00:00
Dominic Lennon
a06e39528f
Code review change
2017-01-16 08:48:53 +00:00
Dominic Lennon
ed19454eca
Adding more specific timing for session timings
2017-01-11 10:51:41 +00:00
Dominic Lennon
d248ef95cd
Fix for issue #5334 . SessionStore now uses the correct value
2017-01-10 11:48:27 +00:00
Barış Soner Uşaklı
e0501656b6
parallel startup
2016-12-09 00:18:25 +03:00
Barış Soner Uşaklı
bca6151892
fix lint
2016-12-09 00:00:40 +03:00
Barış Soner Uşaklı
8c8e2ae190
closes #5271
2016-12-09 00:00:39 +03:00
barisusakli
1c3d9f7e94
switch to createIndex
2016-11-24 16:15:04 +03:00
barisusakli
5d6e2ad083
multiple test fixes
2016-11-23 17:15:36 +03:00
barisusakli
6d97c4cec8
up mongo deps, create session store after db.authenticate
2016-10-14 22:18:28 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
3275d26590
removed comments
2016-10-07 11:03:19 +03:00
Nguyen Trung Quan
279559ff97
Fix: Memory leak & connection flood when access /admin/advanced/database
2016-10-07 11:14:28 +07:00