Expand description
A module containing repositories for the job queue
Structs§
- Cleanup
Expired Tokens Job - Cleanup expired tokens
- Deactivate
User Job - A job to deactivate and lock a user
- Delete
Device Job - A job to delete a device for a user on the homeserver.
- Expire
Inactive Compat Sessions Job - Expire inactive compatibility sessions
- Expire
InactiveO Auth Sessions Job - Expire inactive OAuth 2.0 sessions
- Expire
Inactive Sessions Job - Scheduled job to expire inactive sessions
- Expire
Inactive User Sessions Job - Expire inactive user sessions
- Job
- Represents a job in the job queue
- JobMetadata
- Metadata stored alongside the job
- Provision
Device Job - A job to provision a device for a user on the homeserver.
- Provision
User Job - A job to provision the user on the homeserver.
- Prune
Stale Policy Data Job - Prune stale policy data
- Reactivate
User Job - A job to reactivate a user
- Schedule
Status QueueScheduleRepository::list
returns a list ofScheduleStatus
, which has the name of the schedule and infos about its last run- Send
Account Recovery Emails Job - Send account recovery emails
- Send
Email Authentication Code Job - A job to send an email authentication code to a user.
- Sync
Devices Job - A job which syncs the list of devices of a user with the homeserver
- Verify
Email 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§
- Insertable
Job - A trait that represents a job which can be inserted into a queue
- Queue
JobRepository - A
QueueJobRepository
is used to schedule jobs to be executed by a worker. - Queue
JobRepository Ext - Extension trait for
QueueJobRepository
to help adding a job to the queue through theInsertableJob
trait. This isn’t in theQueueJobRepository
trait to keep it object safe. - Queue
Schedule Repository - A
QueueScheduleRepository
is used to interact with recurrent scheduled jobs in the job queue. - Queue
Worker Repository - A
QueueWorkerRepository
is used to schedule jobs to be executed by a worker.