lab5: исправления по ревью
Concurrent complete no longer deletes the shared verified source; admission is atomic and covers pending presign rows; relay reconciles queued jobs lost to dead-lettering; failed staging is protected until failed_retention; timestamps normalized to UTC; reprocess prefers the durable original and keeps job->attachment lock order; heartbeat errors no longer burn attempts; confirm timeout enforced; pinned images and sanitized health responses.
This commit is contained in:
@@ -79,6 +79,7 @@ type Outbox struct {
|
||||
ClaimTTL time.Duration `mapstructure:"claim_ttl" validate:"required,gt=0"`
|
||||
Batch int `mapstructure:"batch" validate:"required,gt=0,lte=1000"`
|
||||
ReaperInterval time.Duration `mapstructure:"reaper_interval" validate:"required,gt=0"`
|
||||
ReconcileAfter time.Duration `mapstructure:"reconcile_after" validate:"omitempty,gt=0"`
|
||||
Retention time.Duration `mapstructure:"retention" validate:"required,gt=0"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user