From b1d39abd67d67623555ce6c6b18638da4846b509 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Wed, 11 Nov 2020 15:58:42 -0800 Subject: [PATCH] Fix timeout --- Sources/App/configure.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index bee2224..09f09a7 100644 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -10,6 +10,7 @@ public func configure(_ app: Application) throws { // Configure Leaf LeafOption.caching = app.environment.isRelease ? .default : .bypass + LeafRenderer.Option.timeout = 200.0 app.views.use(.leaf) // Register routes