From ce1cb0859b206ffd07697719cb65969bd993e6ca Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Wed, 14 Jun 2023 13:19:47 -0700 Subject: [PATCH] have Layout timeout match d2 --- d2plugin/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2plugin/exec.go b/d2plugin/exec.go index 9e5b4821f..4631ef036 100644 --- a/d2plugin/exec.go +++ b/d2plugin/exec.go @@ -148,7 +148,7 @@ func (p *execPlugin) Info(ctx context.Context) (_ *PluginInfo, err error) { } func (p *execPlugin) Layout(ctx context.Context, g *d2graph.Graph) error { - ctx, cancel := timelib.WithTimeout(ctx, time.Minute) + ctx, cancel := timelib.WithTimeout(ctx, time.Minute*2) defer cancel() graphBytes, err := d2graph.SerializeGraph(g)