Commit 2398298cdd5e9ef20202e78a929ce90b1414075b
1 parent
b628775b60
Exists in
master
process.env.KOMODO_MESSAGING_DO_NOT_LISTEN
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
index.js
... | ... | @@ -4,7 +4,9 @@ const request = require('request'); |
4 | 4 | const config = require('komodo-sdk/config'); |
5 | 5 | const logger = require('komodo-sdk/logger'); |
6 | 6 | |
7 | -require('./http-callback-handler'); | |
7 | +if (!process.env.KOMODO_MESSAGING_DO_NOT_LISTEN) { | |
8 | + require('./http-callback-handler'); | |
9 | +} | |
8 | 10 | |
9 | 11 | let transport; |
10 | 12 |