From 8a2dbf243ee5dfad67e5efa9b34ba293b60e5113 Mon Sep 17 00:00:00 2001 From: peefy Date: Wed, 24 Jul 2024 11:20:57 +0800 Subject: [PATCH] feat: ass Signed-off-by: peefy --- pkg/runtime/init.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/runtime/init.go b/pkg/runtime/init.go index dc42880b..7601ad0b 100644 --- a/pkg/runtime/init.go +++ b/pkg/runtime/init.go @@ -41,10 +41,11 @@ func initRuntime(maxProc int) { } fmt.Println("Init kcl runtime ...") - time.Sleep(time.Duration(2000) * time.Millisecond) rpcRuntime = NewRuntime(int(maxProc), "kclvm_cli", "server") rpcRuntime.Start() + time.Sleep(time.Duration(2000) * time.Millisecond) + client := &BuiltinServiceClient{ Runtime: rpcRuntime, }