Skip to content

Commit 3829377

Browse files
abollinialisaismailati
authored andcommitted
[UXP-198] Port of CST-16918 reduce frequency and number of unpaywall updates
1 parent 8663c1f commit 3829377

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/submission/sections/unpaywall/submission-section-unpaywall.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ import {
5353
} from '../../../core/submission/models/workspaceitem-section-upload-file.model';
5454

5555
const DOI_METADATA = 'dc.identifier.doi';
56-
const API_CHECK_INTERVAL = 3000;
57-
const MAX_TRIES = 5;
56+
const API_CHECK_INTERVAL = 5000;
57+
const MAX_TRIES = 2;
5858

5959
function attemptsGuardFactory(maxAttempts: number) {
6060
return (attemptsCount: number) => {

0 commit comments

Comments
 (0)