Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit b5ea0d2

Browse files
committed
Tiny fix in the comment to TIMEOUT_INFINITY
1 parent d0dc5c7 commit b5ea0d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql/accessor_general.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ local DEF_TIMEOUT_MS = 1000
3535
-- save start time at start, calculate current time on each iteration and
3636
-- substract the start time from it, compare with the timeout. With such
3737
-- approch we don't add the timeout in nanoseconds to a start time and can
38-
-- remove the divide by two below.
39-
local TIMEOUT_INFINITY = 18446744073709551615ULL / (2 * 10^6) -- microseconds
38+
-- remove the divide by two below. The value is roughly equal to 292 years.
39+
local TIMEOUT_INFINITY = 18446744073709551615ULL / (2 * 10^6) -- milliseconds
4040

4141
accessor_general.TIMEOUT_INFINITY = TIMEOUT_INFINITY
4242

0 commit comments

Comments
 (0)