Skip to content

Commit

Permalink
Revert "prebuild graphql schema"
Browse files Browse the repository at this point in the history
This reverts commit a2c2cc5.

Change-Id: I7611300e1e6843ade7a7d05f2935bc8229ef2ac7
Reviewed-on: https://gerrit.instructure.com/206737
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <[email protected]>
QA-Review: Cody Cutrer <[email protected]>
Product-Review: Cody Cutrer <[email protected]>
  • Loading branch information
roor0 authored and ccutrer committed Aug 26, 2019
1 parent 60e8c8b commit 84ca391
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/graphql_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
#

# pre-build the graphql schema (which is expensive and slow) so that the first
# request is not slow and terrible
CanvasSchema.execute("{}")

class GraphQLController < ApplicationController
include Api::V1

Expand Down

0 comments on commit 84ca391

Please sign in to comment.