Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Jan 17, 2020
1 parent 3bd558f commit 3d5381f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ private FeatureStoreCacheConfig(long cacheTime, TimeUnit cacheTimeUnit, StaleVal

/**
* Returns true if caching will be enabled.
* @return true if the cache TTL is greater than 0
* @return true if the cache TTL is nonzero
*/
public boolean isEnabled() {
return getCacheTime() > 0;
return getCacheTime() != 0;
}

/**
Expand Down

0 comments on commit 3d5381f

Please sign in to comment.