Skip to content

Commit

Permalink
Increase the queue size for restore incremental
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijay2win committed Jun 25, 2012
1 parent f94e4ab commit 0c3b68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/netflix/priam/backup/AbstractRestore.java
Expand Up @@ -26,8 +26,8 @@ public abstract class AbstractRestore extends Task
private static final Logger logger = LoggerFactory.getLogger(AbstractRestore.class);
private static final String SYSTEM_KEYSPACE = "system";
// keeps track of the last few download which was executed.
// TODO fix the magic number of 100 => the idea of 100 is 10% of 1000 files limit per s3 query
protected static final FifoQueue<AbstractBackupPath> tracker = new FifoQueue<AbstractBackupPath>(100);
// TODO fix the magic number of 1000 => the idea of 80% of 1000 files limit per s3 query
protected static final FifoQueue<AbstractBackupPath> tracker = new FifoQueue<AbstractBackupPath>(800);
private AtomicInteger count = new AtomicInteger();

protected IConfiguration config;
Expand Down

0 comments on commit 0c3b68b

Please sign in to comment.