Use minutes for debugging
This commit is contained in:
parent
ddd0bef6c9
commit
0ca8709f9f
@ -29,8 +29,8 @@ import {LoggerService} from '../services/logger.service';
|
||||
* Handle processing of issues for staleness/closure.
|
||||
*/
|
||||
export class IssuesProcessor {
|
||||
private static _updatedSince(timestamp: string, num_days: number): boolean {
|
||||
const daysInMillis = 1000 * 60 * 60 * 24 * num_days;
|
||||
private static _updatedSince(timestamp: string, num_min: number): boolean {
|
||||
const daysInMillis = 1000 * 60 * num_min;
|
||||
const millisSinceLastUpdated =
|
||||
new Date().getTime() - new Date(timestamp).getTime();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user