Skip to content

Commit ab94801

Browse files
committed
Adds the ZSET redis key to the readme
1 parent a1d3e25 commit ab94801

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ The Redis client to be used to upload files to the Redis store. By default this
133133

134134
A message that will be displayed after the file has been successfully uploaded to Redis. By default this message will only display if the revision for `revisionData.revisionKey` of the deployment context has been activated.
135135

136-
*Default:*
136+
*Default:*
137137

138138
```javascript
139139
if (context.revisionData.revisionKey && !context.revisionData.activatedRevisionKey) {
@@ -181,9 +181,10 @@ So, if the `keyPrefix` was configured to be `my-app:index` and there had been 3
181181
$ redis-cli
182182

183183
127.0.0.1:6379> KEYS *
184-
1) my-app:index:9ab2021411f0cbc5ebd5ef8ddcd85cef
185-
2) my-app:index:499f5ac793551296aaf7f1ec74b2ca79
186-
3) my-app:index:f769d3afb67bd20ccdb083549048c86c
184+
1) my-app:index
185+
2) my-app:index:9ab2021411f0cbc5ebd5ef8ddcd85cef
186+
3) my-app:index:499f5ac793551296aaf7f1ec74b2ca79
187+
4) my-app:index:f769d3afb67bd20ccdb083549048c86c
187188
```
188189

189190
Activating a revison would add a new entry to Redis pointing to the currently active revision:
@@ -194,10 +195,11 @@ $ ember deploy:activate f769d3afb67bd20ccdb083549048c86c
194195
$ redis-cli
195196

196197
127.0.0.1:6379> KEYS *
197-
1) my-app:index:9ab2021411f0cbc5ebd5ef8ddcd85cef
198-
2) my-app:index:499f5ac793551296aaf7f1ec74b2ca79
199-
3) my-app:index:f769d3afb67bd20ccdb083549048c86c
200-
4) my-app:index:current
198+
1) my-app:index
199+
2) my-app:index:9ab2021411f0cbc5ebd5ef8ddcd85cef
200+
3) my-app:index:499f5ac793551296aaf7f1ec74b2ca79
201+
4) my-app:index:f769d3afb67bd20ccdb083549048c86c
202+
5) my-app:index:current
201203

202204
127.0.0.1:6379> GET my-app:index:current
203205
"f769d3afb67bd20ccdb083549048c86c"

0 commit comments

Comments
 (0)