Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Switching over to ioredis, to support Redis Cluster/Sentinel #455

Merged
merged 15 commits into from
Jun 18, 2016

Conversation

behrad
Copy link
Contributor

@behrad behrad commented Apr 21, 2016

This contains minimum changes required to work, later we can

  1. refactor tests to use ioredis

  2. use ioredis streamified scan instead of keys * in loading ubscriptions

@behrad
Copy link
Contributor Author

behrad commented Apr 21, 2016

This is on top of #449

@@ -138,6 +138,22 @@ AbstractPersistence.prototype.wire = function(server) {
};
};

function arrayFrom(object) {
return [].slice.call(object);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be terribly slow. Allocate a new array based on object.length and then add the stuff in there.

@mcollina
Copy link
Collaborator

So, let's drop 0.10 from the supported versions, I'll bump the major.
0.12 is failing though.

Probably we should also bump Ascoltatori to ioredis.

@behrad
Copy link
Contributor Author

behrad commented Apr 29, 2016

Probably we should also bump Ascoltatori to ioredis.

moscajs/ascoltatori#146

Failed tests are related to mongoDB, no changes there... Is there any races in test suite? It feels temporarly failing @mcollina

@mcollina mcollina mentioned this pull request May 2, 2016
mcollina added a commit that referenced this pull request Jun 16, 2016
@mcollina mcollina merged commit 25e158f into moscajs:master Jun 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants