Skip to content

Commit

Permalink
Fixes #56.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbovet committed Jul 7, 2016
1 parent 875f840 commit c94c3cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public static boolean isExpired(MultiMap headers, Long timestamp) {
}

if (expireAfter != null) {
long expiredSince = System.currentTimeMillis() - ( timestamp + expireAfter * 1000 );
long expiredSince = System.currentTimeMillis() - ( timestamp + expireAfter * 1000L );

if(expiredSince > 0) {
log.debug(" > isExpired - Request expired since {} milliseconds.", expiredSince);
Expand Down

0 comments on commit c94c3cd

Please sign in to comment.