@@ -334,9 +334,7 @@ public IBPlusTreeKeyValueStorage<ComparableKeyOf<TKey>, ValueOf<TValue>> CreateB
334334 IPageManager fsPageManager = null ;
335335 try
336336 {
337- var asyncWriteBuffer = usePageCache ? Math . Min ( settings . CacheSettings . MaxDirtyPages , 1000 ) : 100 ;
338-
339- fsPageManager = new FileSystemPageManager ( ( int ) settings . PageSize , settings . ForcedWrites , asyncWriteBuffer , true ) { MaxEmptyPages = settings . MaxEmptyPages } ;
337+ fsPageManager = new FileSystemPageManager ( ( int ) settings . PageSize , settings . ForcedWrites , 1 , true ) { MaxEmptyPages = settings . MaxEmptyPages } ;
340338
341339 pageManager = usePageCache ?
342340 new CachingPageManager ( fsPageManager , settings . CacheSettings . MaxCachedPages , settings . CacheSettings . MaxDirtyPages )
@@ -399,9 +397,7 @@ public IKeyValueStorage<KeyOf<TKey>, ValueOf<TValue>> CreateRadixTreeStorage<TKe
399397 IPageManager fsPageManager = null ;
400398 try
401399 {
402- var asyncWriteBuffer = usePageCache ? Math . Min ( settings . CacheSettings . MaxDirtyPages , 1000 ) : 100 ;
403-
404- fsPageManager = new FileSystemPageManager ( ( int ) settings . PageSize , settings . ForcedWrites , asyncWriteBuffer , true ) { MaxEmptyPages = settings . MaxEmptyPages } ;
400+ fsPageManager = new FileSystemPageManager ( ( int ) settings . PageSize , settings . ForcedWrites , 1 , true ) { MaxEmptyPages = settings . MaxEmptyPages } ;
405401
406402 pageManager = usePageCache ?
407403 new CachingPageManager ( fsPageManager , settings . CacheSettings . MaxCachedPages , settings . CacheSettings . MaxDirtyPages )
0 commit comments