Skip to content

Commit

Permalink
Increased RVD ticket lifetime to 120 minutes. Refers #197.
Browse files Browse the repository at this point in the history
  • Loading branch information
otsakir committed Mar 24, 2015
1 parent 8d85ae1 commit b829c80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public class TicketRepository {

private ConcurrentHashMap<String,Ticket> tickets = new ConcurrentHashMap<String,Ticket>();
private Date lastRemovalCheckTime; // time when a check was run to invalidate stale tickets
static final Integer STALE_REMOVAL_INTERVAL_MINUTES = 30; // every how many hours will the stale ticket removal take place?
static final Integer STALE_TICKET_LIFETIME_MINUTES = 30; // a ticket is considered stale if it hasn't been used for 30 minutes
static final Integer STALE_REMOVAL_INTERVAL_MINUTES = 120; // every how many hours will the stale ticket removal take place?
static final Integer STALE_TICKET_LIFETIME_MINUTES = 120; // a ticket is considered stale if it hasn't been used for 30 minutes


private TicketRepository() {
Expand Down

0 comments on commit b829c80

Please sign in to comment.