aboutsummaryrefslogtreecommitdiff
path: root/controller/controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'controller/controller.go')
-rw-r--r--controller/controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/controller.go b/controller/controller.go
index 91ac267..7b063e6 100644
--- a/controller/controller.go
+++ b/controller/controller.go
@@ -154,7 +154,7 @@ func (r *Controller) OutboxCollection(name string) (map[string]interface{}, erro
return nil, nil
}
aso := models.NewOutboxItem(handler.handlerCfg)
- page, err := r.persister.Collect(aso)
+ page, err := r.persister.CollectRecent(aso, 50)
if err != nil {
return nil, err
}