Kaynağa Gözat

Don't return that much entries in the mastoapi timeline.

default 3 yıl önce
ebeveyn
işleme
82cd5fda7a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      mastoapi.c

+ 1 - 1
mastoapi.c

@@ -844,7 +844,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
             if (limit == 0)
                 limit = 20;
 
-            xs *timeline = timeline_simple_list(&snac1, "private", 0, XS_ALL);
+            xs *timeline = timeline_simple_list(&snac1, "private", 0, 256);
 
             xs *out      = xs_list_new();
             xs_list *p   = timeline;