feat: poll for events on outbox query
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2024-12-09 19:49:43 +05:30
parent d03c338a82
commit c0cfc103d0
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -213,7 +213,11 @@ async fn handler(
u
};
if Some(100) == q.page {
// if Some(100) == q.page {
// }
let res = if q.page.is_none() {
poll_person_util(
person.clone(),
forge.clone(),
@ -231,9 +235,7 @@ async fn handler(
settings.clone(),
)
.await?;
}
let res = if q.page.is_none() {
let count = cache_ap_local_obect_service
.get_total_acitivites_by_person(&person, Visibility::Public)
.await?;