mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
fix(sync): raise page limit from 50 to 5000 for large chat histories
50 pages (50k messages) was too low for groups with 100k+ messages. Raise to 5000 pages (5M messages) as a safety valve while allowing full-sync to complete in a single pull cycle for most conversations.
This commit is contained in:
1 parent
a5bbff34e4
commit
cb516daea0
1 file changed
+1
-1
@@ -22,7 +22,7 @@ import type {
|
||||
} from './types'
|
||||
import type { DataSourceManager } from './data-source-manager'
|
||||
|
||||
const MAX_PAGES_PER_PULL = 50
|
||||
const MAX_PAGES_PER_PULL = 5000
|
||||
const PULL_OVERLAP_SECONDS = 60
|
||||
|
||||
// ==================== Helpers ====================
|
||||
|
||||
Reference in new issue
Block a user