mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
A conversation is buffered when it is converted; the flush is what writes it. Claiming its assets at buffer time meant a flush that rejected left those files behind, referenced by a conversation that never landed and skipped by the cleanup. Claims are held pending and promoted only when a flush actually commits, so maybeFlush now reports whether it ran. The pre-scan also never consulted the cancel flag, so a cancelled job kept inflating and parsing every remaining shard after the user was told it had stopped. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| emails | ||
| import | ||
| fallback.js | ||
| files.js | ||
| files.spec.js | ||
| getFileStrategy.js | ||
| handleText.js | ||
| index.js | ||
| queue.js | ||
| sendEmail.js | ||
| staticCache.js | ||