Skip to content

Instantly share code, notes, and snippets.

@apowers313
Created December 8, 2021 17:52
Show Gist options
  • Save apowers313/fb4723691e825e734261b7c14cd58081 to your computer and use it in GitHub Desktop.
Save apowers313/fb4723691e825e734261b7c14cd58081 to your computer and use it in GitHub Desktop.
Deno Redis TCP setNoDelay Issue
// run with:
// deno run --allow-all --unstable test.ts
import { Graph as RedisGraph } from "https://esm.sh/redisgraph.js";
let graph = new RedisGraph("social");
// fails with error:
/*
error: Uncaught Error: Not implemented
throw new Error(message);
^
at notImplemented (https://deno.land/[email protected]/node/_utils.ts:23:9)
at TCP.setNoDelay (https://deno.land/[email protected]/node/internal_binding/tcp_wrap.ts:282:5)
at Socket.setNoDelay (https://deno.land/[email protected]/node/net.ts:1038:20)
at u.create_stream (https://cdn.esm.sh/v58/[email protected]/deno/redis.js:4:6138)
at new u (https://cdn.esm.sh/v58/[email protected]/deno/redis.js:4:4395)
at Object._.createClient (https://cdn.esm.sh/v58/[email protected]/deno/redis.js:17:1904)
at new G (https://cdn.esm.sh/v58/[email protected]/deno/redisgraph.js:5:560)
at file:///Users/ampower/Projects/proto/redisgraph-test-deno/test.ts:2:13
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment