------------------------------------------------------------
revno: 742
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge.stable
timestamp: Wed 2008-01-09 08:28:18 +1100
message:
  changed default vacuum limit
modified:
  tools/ctdb_vacuum.c            ctdb_vacuum.c-20080108053634-3zs2bdddzs4r1e1t-1
=== modified file 'tools/ctdb_vacuum.c'
--- a/tools/ctdb_vacuum.c       2008-01-08 12:02:43 +0000
+++ b/tools/ctdb_vacuum.c       2008-01-08 21:28:18 +0000
@@ -608,7 +608,8 @@
 {
        struct ctdb_dbid_map *dbmap=NULL;
        int ret, i;
-       uint32_t repack_limit = 100;
+       /* a reasonable default limit to prevent us using too much memory */
+       uint32_t repack_limit = 10000; 
 
        if (argc > 0) {
                repack_limit = atoi(argv[0]);

Reply via email to