Skip to content

Commit e11b977

Browse files
committed
Update gettime args for Ruby compat
1 parent 04e6e1c commit e11b977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/analysis/visitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def skip?(ast_node)
269269
end
270270

271271
def check_timeout
272-
if Process.clock_gettime(:CLOCK_MONOTONIC, :float_second) > @timeout_time
272+
if Process.clock_gettime(Process::CLOCK_MONOTONIC, :float_second) > @timeout_time
273273
raise GraphQL::Analysis::TimeoutError
274274
end
275275
end

0 commit comments

Comments
 (0)