Commit 66df0eab8d15d49d023146aa317bc8ed5a517cd1
remove timeoujt
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 8/17/2017, 2:24:18 AM
Parent: e522215a494194cd9440b49cad344da47319e914
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