Explorar el Código

Some tweaks to retry timeouts.

default hace 2 años
padre
commit
6e8e943b14
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -2220,7 +2220,7 @@ void process_queue_item(xs_dict *q_item)
 
         /* deliver (if previous error status was a timeout, try now longer) */
         status = send_to_inbox_raw(keyid, seckey, inbox, msg,
-                    &payload, &p_size, p_status == 599 ? 20 : 3);
+                    &payload, &p_size, p_status == 599 ? 8 : 6);
 
         if (payload) {
             if (p_size > 64) {