Skip to content

Commit

Permalink
re-add deprecated default
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad committed Jul 1, 2024
1 parent 1e9bc2d commit 96e10c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Objective-C/CBLDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ extern const NSUInteger kCBLDefaultReplicatorMaxAttemptsContinuous;
/** [300] Max wait time between retry attempts in seconds */
extern const NSTimeInterval kCBLDefaultReplicatorMaxAttemptsWaitTime;

/** [300] Max wait time between retry attempts in seconds */
extern const NSTimeInterval kCBLDefaultReplicatorMaxAttemptWaitTime __deprecated_msg("Use kCBLDefaultReplicatorMaxAttemptsWaitTime instead.");

/** [YES] Purge documents when a user loses access */
extern const BOOL kCBLDefaultReplicatorEnableAutoPurge;

Expand Down
2 changes: 2 additions & 0 deletions Objective-C/CBLDefaults.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@

const NSTimeInterval kCBLDefaultReplicatorMaxAttemptsWaitTime = 300;

const NSTimeInterval kCBLDefaultReplicatorMaxAttemptWaitTime = 300;

const BOOL kCBLDefaultReplicatorEnableAutoPurge = YES;

const BOOL kCBLDefaultReplicatorSelfSignedCertificateOnly = NO;
Expand Down

0 comments on commit 96e10c5

Please sign in to comment.