mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-06 09:01:26 +00:00
Remove unneeded job watching
This commit is contained in:
@@ -280,11 +280,6 @@ export const createPocketbaseClient = (url: string) => {
|
||||
}
|
||||
)
|
||||
|
||||
const [onJobUpdated, fireJobUpdated] =
|
||||
createGenericSyncEvent<RecordSubscription<JobRecord<any>>>()
|
||||
|
||||
client.collection('jobs').subscribe<JobRecord<any>>('*', fireJobUpdated)
|
||||
|
||||
return {
|
||||
getAuthStoreProps,
|
||||
parseError,
|
||||
@@ -303,7 +298,6 @@ export const createPocketbaseClient = (url: string) => {
|
||||
getAllInstancesById,
|
||||
resendVerificationEmail,
|
||||
watchBackupsByInstanceId,
|
||||
onJobUpdated,
|
||||
createInstanceBackupJob,
|
||||
createInstanceRestoreJob
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user