We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50d0e7f + e58f36b commit 7efd8e6Copy full SHA for 7efd8e6
lib/graphql/schema/timeout.rb
@@ -90,7 +90,7 @@ def execute_field(query:, field:, **_rest)
90
# The default implementation returns the `max_seconds:` value from installing this plugin.
91
#
92
# @param query [GraphQL::Query] The query that's about to run
93
- # @return [Integer, false] The number of seconds after which to interrupt query execution and call {#handle_error}, or `false` to bypass the timeout.
+ # @return [Numeric, false] The number of seconds after which to interrupt query execution and call {#handle_error}, or `false` to bypass the timeout.
94
def max_seconds(query)
95
@max_seconds
96
end
0 commit comments