Commit 2b17fc1e77f7651f792fc8e938822e03f54835ec
remove timeoujt
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 8/22/2017, 7:40:01 PM
Parent: b2fd5d233ea10a4ff12caa11c6cbedcdcf0fcf59
Files changed
kernel.js | changed |
portManager.js | changed |
kernel.js | ||
---|---|---|
@@ -18,9 +18,8 @@ | ||
18 | 18 | this.code = opts.code |
19 | 19 | this.hypervisor = opts.hypervisor |
20 | 20 | this.id = opts.id |
21 | 21 | this.container = new opts.container.Constructor(this, opts.container.args) |
22 | - this.timeout = 0 | |
23 | 22 | |
24 | 23 | this.ticks = 0 |
25 | 24 | this.containerState = 'idle' |
26 | 25 | |
@@ -51,9 +50,9 @@ | ||
51 | 50 | if (this.containerState !== 'running') { |
52 | 51 | this.containerState = 'running' |
53 | 52 | |
54 | 53 | while (1) { |
55 | - const message = await this.ports.getNextMessage(this.timeout) | |
54 | + const message = await this.ports.getNextMessage() | |
56 | 55 | if (!message) break |
57 | 56 | |
58 | 57 | // dequqe message |
59 | 58 | message.fromPort.messages.shift() |
Built with git-ssb-web