Skip to content

Commit 32de498

Browse files
committed
runtime: Add comment on .wait()
1 parent 95e1288 commit 32de498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/wasm/src/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ impl RuntimeHostTrait for RuntimeHost {
778778

779779
// How much time the result spent in the channel,
780780
// waiting in the tokio threadpool queue. Anything
781-
// different from 0 is an issue here.
781+
// larger than 0 is bad here. The `.wait()` is instant.
782782
"waiting_ms" => send_time.wait().unwrap().elapsed().as_millis(),
783783
);
784784
result

0 commit comments

Comments
 (0)