Removing test logs.
This commit is contained in:
parent
26c6393f06
commit
5f82b79d40
|
@ -50,6 +50,5 @@ export * from "./constants"
|
||||||
// expose package init function
|
// expose package init function
|
||||||
import * as db from "./db"
|
import * as db from "./db"
|
||||||
export const init = (opts: any = {}) => {
|
export const init = (opts: any = {}) => {
|
||||||
console.log("test")
|
|
||||||
db.init(opts.db)
|
db.init(opts.db)
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,6 @@ function runServer() {
|
||||||
process.env.GLOBAL_AGENT_FORCE_GLOBAL_AGENT = "false"
|
process.env.GLOBAL_AGENT_FORCE_GLOBAL_AGENT = "false"
|
||||||
bootstrap()
|
bootstrap()
|
||||||
require("./app")
|
require("./app")
|
||||||
console.log("test")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
runServer()
|
runServer()
|
||||||
|
|
|
@ -109,7 +109,6 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
|
||||||
console.log(`Worker running on ${JSON.stringify(server.address())}`)
|
console.log(`Worker running on ${JSON.stringify(server.address())}`)
|
||||||
await initPro()
|
await initPro()
|
||||||
await redis.init()
|
await redis.init()
|
||||||
console.log("test")
|
|
||||||
})
|
})
|
||||||
|
|
||||||
process.on("uncaughtException", err => {
|
process.on("uncaughtException", err => {
|
||||||
|
|
Loading…
Reference in New Issue