projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db63e6
)
Don't automatically defrag databases on shutdown
author
Art Cancro
<ajc@citadel.org>
Mon, 5 Oct 1998 00:22:49 +0000
(
00:22
+0000)
committer
Art Cancro
<ajc@citadel.org>
Mon, 5 Oct 1998 00:22:49 +0000
(
00:22
+0000)
citadel/database.c
patch
|
blob
|
history
diff --git
a/citadel/database.c
b/citadel/database.c
index 8f3c75e6702850d0716e2791976726fdd842ce60..179ff82f64fb06d090df27f4d88a1f08e1d9576b 100644
(file)
--- a/
citadel/database.c
+++ b/
citadel/database.c
@@
-140,7
+140,10
@@
void open_databases(void) {
void close_databases(void) {
int a;
- defrag_databases();
+ /* Hmm... we should decide when would be a good time to defrag.
+ * Server shutdowns might be an opportune time.
+ defrag_databases(); */
+
for (a=0; a<MAXCDB; ++a) {
lprintf(7, "Closing database %d\n", a);
gdbm_close(gdbms[a]);