Sfoglia il codice sorgente

Mark actor and instance as OK in successful actor refreshing.

grunfink 3 mesi fa
parent
commit
9bf6505449
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      activitypub.c

+ 4 - 0
activitypub.c

@@ -3421,6 +3421,10 @@ void process_user_queue_item(snac *user, xs_dict *q_item)
                 actor_o = actor_get_collections(user, actor_o, 1);
 
                 actor_add(actor, actor_o);
+
+                /* mark actor and instance as working */
+                actor_failure(actor, 2);
+                instance_failure(actor, 2);
             }
             else {
                 if (status == HTTP_STATUS_GONE || status == HTTP_STATUS_NOT_FOUND) {