[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::Analysis::AST
|
||||
use GraphQL::Schema::Timeout, max_seconds: 10
|
||||
use GraphQL::Schema::Timeout, max_seconds: 30
|
||||
use GraphQL::Batch
|
||||
use GraphQL::Backtrace
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ module Types
|
|||
argument :number, Int, "Numéro du groupe instructeur.", required: true
|
||||
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
|
||||
Procedure.publiques
|
||||
|
|
Loading…
Reference in a new issue