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.
102 103 104 |
# File 'lib/graphql/schema/timeout.rb', line 102 def max_seconds(query) @max_seconds end |