mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
fix: Revert PBS task fetch window to 7 days
This commit is contained in:
@@ -320,7 +320,7 @@ async function fetchAllPbsTasksForProcessing({ client, config }, nodeName) {
|
||||
return { tasks: null, error: true };
|
||||
}
|
||||
try {
|
||||
const sinceTimestamp = Math.floor((Date.now() - 14 * 24 * 60 * 60 * 1000) / 1000);
|
||||
const sinceTimestamp = Math.floor((Date.now() - 7 * 24 * 60 * 60 * 1000) / 1000);
|
||||
const trimmedNodeName = nodeName.trim();
|
||||
const encodedNodeName = encodeURIComponent(trimmedNodeName);
|
||||
const response = await client.get(`/nodes/${encodedNodeName}/tasks`, {
|
||||
|
||||
Reference in New Issue
Block a user