Merge pull request #6500 from kobergj/PostprocessingRetries

[full-ci] Retry Postprocessing
This commit is contained in:
kobergj
2023-06-14 10:45:27 +02:00
committed by GitHub
12 changed files with 170 additions and 46 deletions
+13
View File
@@ -171,3 +171,16 @@ func (UploadReady) Unmarshal(v []byte) (interface{}, error) {
err := json.Unmarshal(v, &e)
return e, err
}
// ResumePostprocessing can be emitted to repair broken postprocessing
type ResumePostprocessing struct {
UploadID string
Timestamp *types.Timestamp
}
// Unmarshal to fulfill umarshaller interface
func (ResumePostprocessing) Unmarshal(v []byte) (interface{}, error) {
e := ResumePostprocessing{}
err := json.Unmarshal(v, &e)
return e, err
}