summaryrefslogtreecommitdiff
path: root/tests/odb/freshen.c
Commit message (Collapse)AuthorAgeFilesLines
* odb: only freshen pack files every 2 secondsethomson/refresh_objectsEdward Thomson2016-08-041-0/+14
| | | | | | Since writing multiple objects may all already exist in a single packfile, avoid freshening that packfile repeatedly in a tight loop. Instead, only freshen pack files every 2 seconds.
* odb: freshen existing objects when writingEdward Thomson2016-08-041-0/+79
When writing an object, we calculate its OID and see if it exists in the object database. If it does, we need to freshen the file that contains it.