Renamed stuff

This commit is contained in:
Timo 2020-12-08 09:14:10 +02:00
parent ba98803781
commit ecc9d178a2
3 changed files with 7 additions and 7 deletions

View File

@ -13,9 +13,9 @@
align-items: center;
padding-top: 50px;
&:first-child {
border-right: 1px solid $separator;
}
//&:first-child {
// border-right: 1px solid $separator;
//}
.project-stats-container {
.project-stats-item {

View File

@ -192,7 +192,7 @@ export class AppStateService {
}
if (file.status === 'PROCESSING') {
const delta = now - file.newestDate.getTime();
if (delta > 1000 * 60 * 5) {
if (delta > 1000 * 60 * 2) {
console.log('Auto-Reanalyse file because of timeout');
this._reanalyseFileInCurrentSessionIfNeeded(project, file);
}
@ -207,9 +207,9 @@ export class AppStateService {
sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`);
} else {
const now = new Date().getTime();
const lastAttempt = new Date(result).getTime();
const lastAttempt = new Date(parseInt(result, 10)).getTime();
const delta = now - lastAttempt;
if (delta > 1000 * 60 * 5) {
if (delta > 1000 * 60 * 2) {
this._reanalysisControllerService.reanalyzeFile(project.projectId, file.fileId).subscribe(() => {});
sessionStorage.setItem('FILE_' + file.fileId, `${new Date().getTime()}`);
}

View File

@ -369,7 +369,7 @@
"hide-comments": "Hide",
"cancel": "Cancel"
},
"error": "Failure",
"error": "Re-processing",
"unassigned": "Unassigned",
"under-review": "Under Review",
"under-approval": "Under Approval",