From 08b8ea6b04fe0378067125890262fd464160c711 Mon Sep 17 00:00:00 2001
From: peefy <xpf6677@163.com>
Date: Wed, 24 Jul 2024 13:05:50 +0800
Subject: [PATCH] only one proc

Signed-off-by: peefy <xpf6677@163.com>
---
 pkg/runtime/init.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/runtime/init.go b/pkg/runtime/init.go
index 6b9875e8..0414c2b1 100644
--- a/pkg/runtime/init.go
+++ b/pkg/runtime/init.go
@@ -54,7 +54,7 @@ func initRuntime(maxProc int) {
 		}
 	}
 	if maxProc <= 0 {
-		maxProc = 2
+		maxProc = 1
 	}
 	if maxProc > runtime.NumCPU()*2 {
 		maxProc = runtime.NumCPU() * 2