projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4855404
)
Use better cache sizes
author
Florian Festi
<ffesti@redhat.com>
Thu, 16 Oct 2008 10:13:13 +0000
(12:13 +0200)
committer
Florian Festi
<ffesti@redhat.com>
Fri, 24 Oct 2008 08:34:26 +0000
(10:34 +0200)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
a9c4a91
..
46b949d
100644
(file)
--- a/
lib/transaction.c
+++ b/
lib/transaction.c
@@
-1061,9
+1061,9
@@
int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
(void) rpmtsSetChrootDone(ts, 1);
}
- ts->ht = rpmFpHashCreate(totalFileCount * 2, fpHashFunction, fpEqual,
+ ts->ht = rpmFpHashCreate(totalFileCount * 2
+ 1
, fpHashFunction, fpEqual,
NULL, NULL);
- fpc = fpCacheCreate(totalFileCount * 2);
+ fpc = fpCacheCreate(totalFileCount * 2
+ 10001
);
/* ===============================================
* Add fingerprint for each file not skipped.