chore: Add todo for future improvements

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-09-16 12:56:11 +02:00
parent 9415f38915
commit 49fed0947e
@@ -33,6 +33,8 @@ export class DefaultRefreshService implements RefreshService {
ref.startsWith('location:'),
);
// TODO: Refreshes are currently scheduled(as soon as possible) for execution and will therefore happen in the future.
// There's room for improvements here where the refresh could potentially hang or return an ID so that the user can check progress.
if (locationAncestor) {
await this.database.refresh(tx, {
entityRef: locationAncestor,