GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove setTimeout in test-net-connect-unref · nodejs/node@61ae592

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/internet
    • test-net-connect-unref.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/internet/test-net-connect-unref.js‎

Copy file name to clipboardExpand all lines: test/internet/test-net-connect-unref.js
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@
2323
const common = require('../common');
2424
const net = require('net');
2525

26-
const TIMEOUT = 10 * 1000;
27-
2826
const client = net.createConnection(53, '8.8.8.8', function() {
2927
client.unref();
3028
});
3129

3230
client.on('close', common.mustNotCall());
33-
34-
setTimeout(common.mustNotCall(), TIMEOUT).unref();

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.