[graphql] fine tune config to avoid timeout error
This commit is contained in:
parent
886f595350
commit
49a77ddffe
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ class API::V2::Schema < GraphQL::Schema
|
||||||
|
|
||||||
use GraphQL::Execution::Interpreter
|
use GraphQL::Execution::Interpreter
|
||||||
use GraphQL::Analysis::AST
|
use GraphQL::Analysis::AST
|
||||||
use GraphQL::Schema::Timeout, max_seconds: 10
|
use GraphQL::Schema::Timeout, max_seconds: 30
|
||||||
use GraphQL::Batch
|
use GraphQL::Batch
|
||||||
use GraphQL::Backtrace
|
use GraphQL::Backtrace
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ module Types
|
||||||
argument :number, Int, "Numéro du groupe instructeur.", required: true
|
argument :number, Int, "Numéro du groupe instructeur.", required: true
|
||||||
end
|
end
|
||||||
|
|
||||||
field :demarches_publiques, DemarcheDescriptorType.connection_type, null: false, require_admin: true
|
field :demarches_publiques, DemarcheDescriptorType.connection_type, null: false, require_admin: true, max_page_size: 30
|
||||||
|
|
||||||
def demarches_publiques
|
def demarches_publiques
|
||||||
Procedure.publiques
|
Procedure.publiques
|
||||||
|
|
Loading…
Add table
Reference in a new issue