Store failed activities
Some checks failed
/ docker (push) Failing after 4m0s

If the processing for an activity failed due to internal reasons (NOT
malformed content), store it for a later attempt
This commit is contained in:
Melody Becker 2025-06-08 08:34:47 +02:00
parent 604e25c451
commit f727b30f32
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
2 changed files with 163 additions and 117 deletions

View file

@ -12,7 +12,7 @@ import (
"git.mstar.dev/mstar/linstrom/storage-new/dbgen"
)
func handleUndo(w http.ResponseWriter, r *http.Request, object map[string]any) {
func handleUndo(w http.ResponseWriter, r *http.Request, object map[string]any) bool {
log := hlog.FromRequest(r)
_ = object["id"].(string)
_, ok := object["actor"].(string)