Commit f8c3208
Kelvin Luck
feat: Introduce
If you pass this flag then `fetchRevisions` doesn't attempt to fetch _any_ revisions
from S3. This is useful because fetching the revisions from S3 can take a long time
(see #120) and if you don't have any reason to use them then this time is wasted.
In our use case I have hooked this flag up to an environment variable. e.g. - in `deploy.js`:
```
disableFetchRevisions: process.env.DISABLE_FETCH_REVISIONS
```
Then we can set that environment variable when we are calling the `activate`
command and leave it off at any other time (so e.g. `ember deploy:list` works as
expected - if you have the time to wait)disableFetchRevisions config flag1 parent 323a972 commit f8c3208
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
110 | 117 | | |
111 | 118 | | |
112 | 119 | | |
| |||
0 commit comments