Method: GraphQL::Schema::Timeout#max_seconds
- Defined in:
- lib/graphql/schema/timeout.rb
#max_seconds(query) ⇒ Numeric, false
Called at the start of each query.
The default implementation returns the max_seconds: value from installing this plugin.
94 95 96 |
# File 'lib/graphql/schema/timeout.rb', line 94 def max_seconds(query) @max_seconds end |