Commit graph

18380 commits

Author SHA1 Message Date
James Allen
2a05045600 Add in redis health check 2014-11-20 16:56:09 +00:00
Henry Oswald
e23b0f0076 bump redis package 2014-11-20 12:53:41 +00:00
Henry Oswald
24b3226fcf bump redis version 2014-11-20 12:50:55 +00: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
db0322e054 added redis health check 2014-11-20 11:40:52 +00:00
Winston Li
8483e0b86a Accounting for trailing slashes and .git in project name. 2014-11-20 11:37:32 +00:00
Winston Li
a654529090 Removed print statements. 2014-11-20 11:25:00 +00:00
Winston Li
c42db9eb8b Throwing RepositoryNotFoundException when not found. 2014-11-20 11:23:31 +00:00
Henry Oswald
851764f269 bump package.json 2014-11-20 11:10:22 +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
Winston Li
2c64fb0e4f Fixed deadlock on exception being thrown. 2014-11-20 10:54:16 +00:00
Winston Li
b847e6f712 Fixed accidental package move. 2014-11-20 10:33:39 +00:00
Winston Li
b5adf31774 Added per-project synchronisation and massively refactored SQLiteWLDatabase. 2014-11-20 10:27:58 +00:00
Winston Li
08277baa77 Added per-project synchronisation. 2014-11-20 09:19:21 +00:00
Henry Oswald
e133c7101e incremented version and added basic health check function in 2014-11-19 23:18:56 +00:00
Henry Oswald
6c746d9aec added redis health check in 2014-11-19 23:18:20 +00:00
Henry Oswald
458e4335de added a load more currencies 2014-11-19 21:34:13 +00:00
Winston Li
b51b37f71f Creating atts directory when needed. 2014-11-19 21:31:01 +00:00
Winston Li
0442cd7e0b Creating .wlgb directory if it isn't there. 2014-11-19 21:07:55 +00:00
Winston Li
832009e6cf Finished writing persistent store. 2014-11-19 20:57:31 +00:00
Winston Li
dc47c17264 Loading fetched versions from database. 2014-11-19 19:30:59 +00:00
Winston Li
f103c7e3b5 Loading WLProjectStore from database. 2014-11-19 19:01:18 +00:00
Winston Li
7d47514810 Changed WLDataModel to not delete project directories. 2014-11-19 18:40:34 +00:00
Winston Li
071e0a87cc Wrote persistent store. 2014-11-19 18:28:55 +00:00
Henry Oswald
4f56d8d4e8 Revert "Use new 'robust' subscription scheme"
This reverts commit dd4b938365d0f6196206fd7c70056c34477d13d5
2014-11-19 16:54:02 +00:00
Henry Oswald
566bf72bfd Revert "lock down the redis version"
This reverts commit 8c942ca7149afff241c968f66669b17c7e36ca4e. and dd4b938365d0f6196206fd7c70056c34477d13d5
2014-11-19 16:53:50 +00:00
Henry Oswald
5ae364e6c1 lock down the redis version 2014-11-19 16:48:43 +00:00
Henry Oswald
57abc2cb24 lock down the version of redis 2014-11-19 16:45:10 +00:00
Henry Oswald
6da4f3eef5 bump package 2014-11-19 16:41:28 +00:00
Henry Oswald
9e63b6c3a1 use redis 0.0.6 2014-11-19 16:41:12 +00:00
Henry Oswald
4cd3c249ec removed reconnect stuff 2014-11-19 16:39:06 +00:00
Henry Oswald
cd8c233c05 Revert robust redis connection code 2014-11-19 15:06:05 +00:00
Henry Oswald
dbb1d68b66 added SEK and CAD currencies 2014-11-19 14:52:59 +00:00
James Allen
8b9a26d6f3 Add in http health check end points for redis subscription channels 2014-11-19 14:12:37 +00:00
James Allen
1ee287ed98 add createMonitoredSubscriptionClient method 2014-11-19 14:05:16 +00:00
Winston Li
dca42ac72b Initial sqlite database creation code. 2014-11-19 13:49:30 +00:00
James Allen
0eab2d99b6 Use new 'robust' subscription scheme 2014-11-19 12:54:47 +00:00
James Allen
c822bb6ea4 Add in missed error catching 2014-11-19 12:51:19 +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
34e20e99f5 Pull redis from github master temporarily 2014-11-19 11:09:59 +00:00
James Allen
d6532c63f8 Use new robust subscription model 2014-11-19 11:09:42 +00:00
James Allen
5ec9e587f0 Roll back real-time settings for now 2014-11-19 11:09:32 +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