mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix logic for suprpessing snapshots in big directories
This commit is contained in:
parent
bcf952bc8a
commit
b5c85d3806
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export namespace Snapshot {
|
|||
limit: 1000,
|
||||
})
|
||||
log.info("found files", { count: files.length })
|
||||
if (files.length > 1000) return
|
||||
if (files.length >= 1000) return
|
||||
}
|
||||
|
||||
const git = gitdir(sessionID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue