[RenderToPng fix] (#4901)

* removing useless code

* fix various minor typo

* don't silence phantomjs timeout and allow more time

* fix gofmt
This commit is contained in:
fg2it
2016-05-04 09:07:45 +02:00
committed by Torkel Ödegaard
parent 543d247af8
commit 303cd8a5af
7 changed files with 6 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ func RenderToPng(c *middleware.Context) {
Width: queryReader.Get("width", "800"),
Height: queryReader.Get("height", "400"),
SessionId: c.Session.ID(),
Timeout: queryReader.Get("timeout", "15"),
Timeout: queryReader.Get("timeout", "30"),
}
renderOpts.Url = setting.ToAbsUrl(renderOpts.Url)