Skip to content

Commit

Permalink
Initializing autorefresh interval to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Mroczkowski committed Nov 15, 2013
1 parent e191062 commit 485e4a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Zinc/Private/ZincAgent+Private.h
Expand Up @@ -8,8 +8,6 @@

#import "ZincAgent.h"

#define kZincAgentDefaultAutoRefreshInterval (120)

@class ZincRepo;

@interface ZincAgent (Private)
Expand Down
1 change: 0 additions & 1 deletion Zinc/Private/ZincAgent.m
Expand Up @@ -56,7 +56,6 @@ - (id)initWithRepo:(ZincRepo *)repo
self = [super init];
if (self) {
self.repo = repo;
_autoRefreshInterval = kZincAgentDefaultAutoRefreshInterval;

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(reachabilityChanged:)
Expand Down
2 changes: 2 additions & 0 deletions Zinc/Public/ZincAgent.h
Expand Up @@ -42,6 +42,8 @@

/**
Interval at which catalogs are updated and automatic clone tasks started.
NOTE: is initialized to 0. Must be set to >0 to refresh automatically.
*/
@property (nonatomic, assign) NSTimeInterval autoRefreshInterval;

Expand Down

0 comments on commit 485e4a1

Please sign in to comment.