We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3b31b5 commit f909550Copy full SHA for f909550
index.js
@@ -35,10 +35,6 @@ class API {
35
constructor(config) {
36
this.config = {
37
...sharedConfig('API'),
38
- // <https://github.com/ladjs/bull>
39
- // this is an instance of bull passed to context
40
- // so users can use it in routes, e.g. `ctx.bull`
41
- bull: false,
42
...config
43
};
44
@@ -85,10 +81,6 @@ class API {
85
81
// allow middleware to access redis client
86
82
app.context.client = client;
87
83
88
- // set bull to be shared throughout app context
89
- // (very useful for not creating additional connections)
90
- if (this.config.bull) app.context.bull = this.config.bull;
91
-
92
84
// only trust proxy if enabled
93
app.proxy = boolean(process.env.TRUST_PROXY);
94
0 commit comments