pinokiod 3.2.48 → 3.2.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/index.js +3 -2
- package/package.json +1 -1
- package/server/index.js +4 -0
package/kernel/index.js
CHANGED
|
@@ -338,8 +338,9 @@ class Kernel {
|
|
|
338
338
|
// let contents = await fs.promises.readdir(this.homedir)
|
|
339
339
|
//await this.bin.init()
|
|
340
340
|
console.time("bin.init")
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
this.bin.init().then(() => {
|
|
342
|
+
console.timeEnd("bin.init")
|
|
343
|
+
})
|
|
343
344
|
console.time("api.init")
|
|
344
345
|
await this.api.init()
|
|
345
346
|
console.timeEnd("api.init")
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -2108,6 +2108,7 @@ class Server {
|
|
|
2108
2108
|
// });
|
|
2109
2109
|
// }
|
|
2110
2110
|
// }
|
|
2111
|
+
console.log("startLogging")
|
|
2111
2112
|
await this.startLogging()
|
|
2112
2113
|
|
|
2113
2114
|
// check version from this.store
|
|
@@ -2148,6 +2149,7 @@ class Server {
|
|
|
2148
2149
|
|
|
2149
2150
|
//await this.configure()
|
|
2150
2151
|
|
|
2152
|
+
console.log("#######")
|
|
2151
2153
|
|
|
2152
2154
|
this.started = false
|
|
2153
2155
|
this.app = express();
|
|
@@ -3298,6 +3300,7 @@ class Server {
|
|
|
3298
3300
|
this.server = httpserver.createServer(this.app);
|
|
3299
3301
|
this.socket = new Socket(this)
|
|
3300
3302
|
await new Promise((resolve, reject) => {
|
|
3303
|
+
console.log("## Listen")
|
|
3301
3304
|
this.listening = this.server.listen(this.port, () => {
|
|
3302
3305
|
console.log(`Server listening on port ${this.port}`)
|
|
3303
3306
|
resolve()
|
|
@@ -3306,6 +3309,7 @@ class Server {
|
|
|
3306
3309
|
server: this.listening
|
|
3307
3310
|
});
|
|
3308
3311
|
})
|
|
3312
|
+
console.log(">> FINISHED")
|
|
3309
3313
|
|
|
3310
3314
|
}
|
|
3311
3315
|
}
|