Expand description
A module containing repositories for the job queue
Structs§
- CleanupExpired Tokens Job 
- Cleanup expired tokens
- DeactivateUser Job 
- A job to deactivate and lock a user
- DeleteDevice Job 
- A job to delete a device for a user on the homeserver.
- ExpireInactive Compat Sessions Job 
- Expire inactive compatibility sessions
- ExpireInactiveO Auth Sessions Job 
- Expire inactive OAuth 2.0 sessions
- ExpireInactive Sessions Job 
- Scheduled job to expire inactive sessions
- ExpireInactive User Sessions Job 
- Expire inactive user sessions
- Job
- Represents a job in the job queue
- JobMetadata
- Metadata stored alongside the job
- ProvisionDevice Job 
- A job to provision a device for a user on the homeserver.
- ProvisionUser Job 
- A job to provision the user on the homeserver.
- PruneStale Policy Data Job 
- Prune stale policy data
- ReactivateUser Job 
- A job to reactivate a user
- ScheduleStatus 
- QueueScheduleRepository::listreturns a list of- ScheduleStatus, which has the name of the schedule and infos about its last run
- SendAccount Recovery Emails Job 
- Send account recovery emails
- SendEmail Authentication Code Job 
- A job to send an email authentication code to a user.
- SyncDevices Job 
- A job which syncs the list of devices of a user with the homeserver
- VerifyEmail Job 
- This is the previous iteration of the email verification job. It has been
replaced by SendEmailAuthenticationCodeJob. This struct is kept to be able to consume jobs that are still in the queue.
- Worker
- A worker is an entity which can execute jobs.
Traits§
- InsertableJob 
- A trait that represents a job which can be inserted into a queue
- QueueJobRepository 
- A QueueJobRepositoryis used to schedule jobs to be executed by a worker.
- QueueJobRepository Ext 
- Extension trait for QueueJobRepositoryto help adding a job to the queue through theInsertableJobtrait. This isn’t in theQueueJobRepositorytrait to keep it object safe.
- QueueSchedule Repository 
- A QueueScheduleRepositoryis used to interact with recurrent scheduled jobs in the job queue.
- QueueWorker Repository 
- A QueueWorkerRepositoryis used to schedule jobs to be executed by a worker.