Files
node/doc/api
Haram Jeong 7c01b98cfa doc: clarify sub-1000ms behavior in socket.setKeepAlive
The current documentation states that `initialDelay` and `interval`
are divided by 1000 and rounded down, but does not explicitly mention
that values less than 1000ms will result in 0 seconds. This can lead
to confusion when users pass values like 400ms expecting sub-second
keepalive delays.

Add a concrete example showing that 400ms rounds down to 0 seconds.

Refs: https://github.com/nodejs/node/issues/57712

Signed-off-by: haramjeong <04harams77@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65869
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
2026-09-18 05:37:40 +00:00
..
2026-09-16 20:13:19 +02:00
2026-09-16 22:22:28 +00:00
2026-09-03 11:40:52 +02:00
2026-09-16 20:13:19 +02:00
2026-09-15 08:33:52 +00:00
2026-09-16 20:13:19 +02:00
2026-09-03 15:37:21 +00:00
2025-12-16 20:31:28 +00:00
2026-08-22 03:49:24 +00:00
2026-09-11 13:15:27 -04:00
2026-08-03 11:44:23 +00:00
2026-09-09 18:04:31 +02:00
2026-09-15 02:31:45 +00:00
2026-09-16 20:13:19 +02:00
2026-09-11 14:57:08 +00:00