mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 22:51:13 +00:00
Re-enable networking on wasm (#4880)
* Use noise and timeouts on wasm * Don't use wasm-opt when compiling to wasm * Forgot lockfile * Add node about disabling wasm-opt * Enable timeouts in telemetry on wasm
This commit is contained in:
@@ -98,10 +98,10 @@ impl TelemetryWorker {
|
||||
.map_ok(|data| BytesMut::from(data.as_ref()));
|
||||
future::ready(Ok::<_, io::Error>(connec))
|
||||
})
|
||||
})
|
||||
.timeout(CONNECT_TIMEOUT);
|
||||
});
|
||||
|
||||
let transport = transport
|
||||
.timeout(CONNECT_TIMEOUT)
|
||||
.map_err(|err| io::Error::new(io::ErrorKind::Other, err))
|
||||
.map(|out, _| {
|
||||
let out = out
|
||||
|
||||
Reference in New Issue
Block a user