perf: sync protocol and core hardening updates
This commit is contained in:
parent
152fed3b87
commit
4390ebf5a9
283 changed files with 29231 additions and 2295 deletions
|
|
@ -9,6 +9,8 @@ import (
|
|||
|
||||
type BootstrapUpdateJobStore interface {
|
||||
EnqueueLoginMessage(ctx context.Context, job domain.BootstrapUpdateJob) (domain.BootstrapUpdateJob, error)
|
||||
// MarkReadyForSession allows a new session on the same auth key to take over
|
||||
// a pending signup baseline fence; a different auth key can never release it.
|
||||
MarkReadyForSession(ctx context.Context, userID int64, authKeyID [8]byte, sessionID int64) (int, error)
|
||||
ClaimReady(ctx context.Context, limit int, leaseTimeout time.Duration) ([]domain.BootstrapUpdateJob, error)
|
||||
MarkPublished(ctx context.Context, id int64) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue