Skip to content

Commit c428950

Browse files
committed
Decreasing default metadataCacheLimit to 250 (to match default objectCacheLimit)
1 parent 4d359dc commit c428950

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

YapDatabase/Internal/YapDatabaseConnectionDefaults.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#import "YapDatabaseConnectionDefaults.h"
22

33
static NSUInteger const DEFAULT_OBJECT_CACHE_LIMIT = 250;
4-
static NSUInteger const DEFAULT_METADATA_CACHE_LIMIT = 500;
4+
static NSUInteger const DEFAULT_METADATA_CACHE_LIMIT = 250;
55

66

77
@implementation YapDatabaseConnectionDefaults

YapDatabase/YapDatabaseConnection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ NS_ASSUME_NONNULL_BEGIN
131131
* To disable the metadata cache entirely, set metadataCacheEnabled to NO.
132132
* To use an inifinite cache size, set the metadataCacheLimit to zero.
133133
*
134-
* By default the metadataCache is enabled and has a limit of 500.
134+
* By default the metadataCache is enabled and has a limit of 250.
135135
*
136136
* New connections will inherit the default values set by the parent database object.
137137
* Thus the default values for new connection instances are configurable.

0 commit comments

Comments
 (0)