File tree Expand file tree Collapse file tree 3 files changed +1
-29
lines changed Expand file tree Collapse file tree 3 files changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -29,23 +29,4 @@ else if (typeof process.env.SSS_CLOUDANT_URL === 'string') {
29
29
} ;
30
30
}
31
31
32
- /*******
33
- REDIS
34
- *******/
35
-
36
- if ( typeof process . env . SSS_REDIS_HOST === 'string' ) {
37
- console . log ( "Using local config for Redis" ) ;
38
- services [ "user-provided" ] = [
39
- {
40
- name : "Redis by Compose" ,
41
- credentials : {
42
- public_hostname : process . env . SSS_REDIS_HOST ,
43
- password : process . env . SSS_REDIS_PASSWORD || null
44
- }
45
-
46
- }
47
- ] ;
48
-
49
- }
50
-
51
32
module . exports = services ;
Original file line number Diff line number Diff line change @@ -37,17 +37,9 @@ else {
37
37
cloudant . url += "/_utils/database.html?seams" ;
38
38
}
39
39
40
- var cacheservice = appEnv . getService ( "Redis by Compose" ) || { } ;
41
- var redis = {
42
- name : ( cacheservice . name || null ) ,
43
- username : cacheservice . credentials ? ( cacheservice . credentials . username || null ) : null ,
44
- host : cacheservice . credentials ? ( cacheservice . credentials . public_hostname || null ) : null
45
- } ;
46
-
47
40
var sssenv = {
48
41
application : app ,
49
- storage : cloudant ,
50
- cache : redis
42
+ storage : cloudant
51
43
} ;
52
44
53
45
module . exports = sssenv ;
Original file line number Diff line number Diff line change 23
23
"passport" : " ^0.3.2" ,
24
24
"passport-anonymous" : " ^1.0.1" ,
25
25
"passport-http" : " ^0.3.0" ,
26
- "redis" : " ^0.12.1" ,
27
26
"request" : " ^2.58.0" ,
28
27
"socket.io" : " ^1.4.8" ,
29
28
"underscore" : " ^1.8.3" ,
You can’t perform that action at this time.
0 commit comments