mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
feat: Add max prev events config option, allowing adjusting limit for prev_events fetching
This commit is contained in:
3 files changed
+11
-1
No files matched your search
@@ -1226,7 +1226,7 @@ impl Service {
|
||||
.await
|
||||
.pop()
|
||||
{
|
||||
if amount > 100 {
|
||||
if amount > services().globals.max_fetch_prev_events() {
|
||||
// Max limit reached
|
||||
warn!("Max prev event limit reached!");
|
||||
graph.insert(prev_event_id.clone(), HashSet::new());
|
||||
|
||||
Reference in new issue
Block a user