mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00:00
Bump mermaid render timeout to 90s
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/reconquest/pkg/log"
|
||||
)
|
||||
|
||||
var renderTimeout = 60 * time.Second
|
||||
var renderTimeout = 90 * time.Second
|
||||
|
||||
func ProcessMermaidLocally(title string, mermaidDiagram []byte, scale float64) (attachment.Attachment, error) {
|
||||
ctx, cancel := context.WithTimeout(context.TODO(), renderTimeout)
|
||||
|
||||
Reference in New Issue
Block a user