mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Fixed test to correspond to new limit of 1024.
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -4084,7 +4084,7 @@ func TestNoRaceJetStreamConsumerFileStoreConcurrentDiskIO(t *testing.T) {
|
||||
gmp := runtime.GOMAXPROCS(32)
|
||||
defer runtime.GOMAXPROCS(gmp)
|
||||
|
||||
maxT := debug.SetMaxThreads(64)
|
||||
maxT := debug.SetMaxThreads(1050) // 1024 now
|
||||
defer debug.SetMaxThreads(maxT)
|
||||
|
||||
fs, err := newFileStore(FileStoreConfig{StoreDir: storeDir}, StreamConfig{Name: "MT", Storage: FileStorage})
|
||||
|
||||
Reference in New Issue
Block a user