mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Bump mermaid render timeout to 90s
This commit is contained in:
parent
04bf20c0a3
commit
292bd0d713
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user