Commit graph

37 commits

Author SHA1 Message Date
Brian Gough
66c09a770e separate out devDependencies 2017-10-24 10:46:38 +01:00
Brian Gough
cf87ef7dd1 Merge pull request #3 from sharelatex/bg-support-opts-for-cluster
add support for passing options to cluster
2017-06-26 13:43:36 +01:00
Brian Gough
bda88c0356 remove the key_schema from options passed to redis 2017-06-19 15:46:21 +01:00
Brian Gough
bce937f562 add support for passing options to cluster 2017-06-16 15:28:55 +01:00
James Allen
90e0b4b273 Gracefully handle missing callback to exec in ioredis 2017-05-05 13:36:39 +01:00
James Allen
da85837e6f Update package.json 2017-05-04 15:41:43 +01:00
James Allen
92f22bc1a1 Fix redis cluster health check 2017-05-04 15:38:07 +01:00
James Allen
1c88fc60e7 Merge pull request #1 from sharelatex/ja-redis-cluster-refactor
Include ioredis as a driver to be able to handle cluster configs
2017-05-02 15:49:22 +01:00
Brian Gough
b3d1c03d4b Merge pull request #2 from sharelatex/bg-add-redis-cluster-refactor-test
add test for ioredis monkey patching
2017-05-02 14:21:21 +01:00
Brian Gough
6923ca0d5f add test for ioredis monkey patching 2017-04-25 15:34:41 +01:00
James Allen
89397e4c50 Get unit tests running and add one for ioredis 2017-04-12 16:58:59 +01:00
James Allen
3b58e390fd Include ioredis as a driver to be able to handle cluster configs 2017-04-12 14:53:34 +01:00
Henry Oswald
3334a55944 bump package 2014-11-20 12:50:31 +00:00
Henry Oswald
917ce27a2c add a double message check 2014-11-20 12:50:19 +00:00
Henry Oswald
119ae80853 bump package.json 2014-11-20 11:09:57 +00:00
Henry Oswald
ef0ea2ace2 if redis fails once mark it to always fail 2014-11-20 11:09:44 +00:00
Henry Oswald
e133c7101e incremented version and added basic health check function in 2014-11-19 23:18:56 +00:00
Henry Oswald
6da4f3eef5 bump package 2014-11-19 16:41:28 +00:00
Henry Oswald
4cd3c249ec removed reconnect stuff 2014-11-19 16:39:06 +00:00
James Allen
1ee287ed98 add createMonitoredSubscriptionClient method 2014-11-19 14:05:16 +00:00
James Allen
42cbaecbe0 Let the client take care of reconnecting only when the stream is actually ended 2014-11-19 12:30:10 +00:00
James Allen
861eafd88d Handle reconnect logic better to (hopefully) avoid duplicate connections 2014-11-19 11:52:40 +00:00
James Allen
db3537a8eb Reset heartbeat timer after triggering a reconnect 2014-11-19 11:25:09 +00:00
James Allen
b67b49564d Revert "Use own fork of node-redis-sentinel"
This reverts commit a351534a5f0e50656430ff37d2f6c42f701096d0.
2014-11-19 11:21:36 +00:00
James Allen
e988dc8586 Don't need secure random bytes which can error if not enough entropy 2014-11-19 11:18:31 +00:00
James Allen
68c428545d Don't hash because Henry is hashist! 2014-11-19 11:16:43 +00:00
James Allen
c90cc61570 Set retry_max_delay to 5 seconds so that reconnects don't slow down exponentially 2014-11-19 11:02:27 +00:00
James Allen
230203eadf Add in robust heartbeat driven subscription model 2014-11-19 11:01:02 +00:00
James Allen
79afad5409 Use own fork of node-redis-sentinel 2014-11-18 15:49:27 +00:00
James Allen
8808097f2c Add javascript wrapper so it can be loaded directly 2014-11-07 15:02:45 +00:00
Henry Oswald
4fd5191528 bump package 2014-09-29 12:02:38 +01:00
Henry Oswald
c63f3c9da9 added readme 2014-09-29 12:00:03 +01:00
Henry Oswald
8f31ac60ca if password is passed rename it to auth_pass 2014-09-29 11:40:40 +01:00
Henry Oswald
a33f537cb1 increment package 2014-09-28 20:34:20 +01:00
Henry Oswald
f554ea8bd5 change underscore dep 2014-09-28 20:33:29 +01:00
Henry Oswald
a0c861cf5d pass entire redis object though with all opts in one go 2014-09-26 14:46:23 +01:00
Henry Oswald
629241611b v1 of the redis driver wrapper 2014-09-25 17:33:27 +01:00