increase file fetch rate when uploading

This commit is contained in:
Dan Percic 2022-01-17 15:30:18 +02:00
parent 9eb2fa10e5
commit f6b2b2e669

View File

@ -41,7 +41,7 @@ export class FileUploadService extends GenericService<IFileUploadResult> impleme
) {
super(_injector, 'upload');
const fileFetch$ = this._fetchFiles$.pipe(
throttleTime(1500),
throttleTime(250),
switchMap(dossierId => this._filesService.loadAll(dossierId)),
);
this._subscriptions.add(fileFetch$.subscribe());