Skip to content

Commit

Permalink
This closes apache#2514
Browse files Browse the repository at this point in the history
  • Loading branch information
aviemzur committed Apr 13, 2017
2 parents dc672f4 + fdabd41 commit 21a2b96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public BoundedReader<T> getOrCreateReader(
}
}

private synchronized void initReaderCache(long readerCacheInterval) {
private static synchronized void initReaderCache(long readerCacheInterval) {
if (readerCache == null) {
LOG.info("Creating reader cache. Cache interval = " + readerCacheInterval + " ms.");
readerCache =
Expand Down

0 comments on commit 21a2b96

Please sign in to comment.