faster master startup

This commit is contained in:
chrislu
2025-11-18 12:06:56 -08:00
parent 0299e78de7
commit aef5121c36
13 changed files with 23 additions and 15 deletions

View File

@@ -391,6 +391,7 @@ func startSeaweedFSCluster(ctx context.Context, dataDir string) (*TestCluster, e
"-mdir", masterDir,
"-volumeSizeLimitMB", "10", // Small volumes for testing
"-ip", "127.0.0.1",
"-peers", "none", // Faster startup when no multiple masters needed
)
masterLogFile, err := os.Create(filepath.Join(masterDir, "master.log"))