Skip to content

Commit 56acc24

Browse files
committed
chore(frontend:sync): use the async scheduler as the default for new servers
1 parent 6b0a6a7 commit 56acc24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/app/store/store.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class StoreService {
6161
// Events
6262
public filesOnEvent: Subject<FileEvent> = new Subject<FileEvent>()
6363
// Client
64-
public clientScheduler: WritableSignal<CLIENT_SCHEDULER_STATE> = signal<CLIENT_SCHEDULER_STATE>(CLIENT_SCHEDULER_STATE.DISABLED)
64+
public clientScheduler: WritableSignal<CLIENT_SCHEDULER_STATE> = signal<CLIENT_SCHEDULER_STATE>(CLIENT_SCHEDULER_STATE.ASYNC)
6565
public clientSyncPaths: WritableSignal<SyncPathModel[]> = signal([])
6666
public clientSyncs = new BehaviorSubject<SyncStatus[]>([])
6767
public clientSyncsWithErrors = new BehaviorSubject<SyncStatus[]>([])
@@ -93,7 +93,7 @@ export class StoreService {
9393
this.spaceSelection.set(null)
9494
this.trashSelection.set(null)
9595
// Client
96-
this.clientScheduler.set(CLIENT_SCHEDULER_STATE.DISABLED)
96+
this.clientScheduler.set(CLIENT_SCHEDULER_STATE.ASYNC)
9797
this.clientSyncPaths.set([])
9898
this.clientSyncs.next([])
9999
this.clientSyncsWithErrors.next([])

0 commit comments

Comments
 (0)