From 2580308b1458e703715ffc637dd93c56d199ba91 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 18 Dec 2006 01:28:08 +0000
Subject: [PATCH] Update the config file handler to change the way that the configuration archive is maintained. Rather than keeping the archive as a single zip file, it is now maintained as a directory of gzip-compressed files. This is much faster and more scalable. On my desktop machine, it reduces the time to run unit tests by about 75% (from about 7.5 minutes to less than 2 minutes).
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 3247efa..2b6119a 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -2427,10 +2427,10 @@
/**
- * The base name (with no path information) of the file that will hold the
- * archived of previous configurations.
+ * The base name (with no path information) of the directory that will hold
+ * the archived versions of previous configurations.
*/
- public static final String CONFIG_ARCHIVE_NAME = "archived-config.zip";
+ public static final String CONFIG_ARCHIVE_DIR_NAME = "archived-configs";
--
Gitblit v1.10.0