Author: danielsh
Date: Mon Jul 18 20:04:33 2011
New Revision: 1148032

URL: http://svn.apache.org/viewvc?rev=1148032&view=rev
Log:
On the fs-progress branch:

Tweak the frequency of progress_func notifications in 'svnadmin verify'.

* subversion/libsvn_fs_fs/fs_fs.c
  (verify_walker): Call the progress_func every 50000 rep-cache.db rows,
    instead of every 1024 rows.

Modified:
    subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c?rev=1148032&r1=1148031&r2=1148032&view=diff
==============================================================================
--- subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c Mon Jul 18 
20:04:33 2011
@@ -7800,7 +7800,7 @@ verify_walker(representation_t *rep,
   struct rep_state *rs;
   struct rep_args *rep_args;
 
-  if (vb->progress_func && (vb->reps_seen++ % 1024 == 0))
+  if (vb->progress_func && (vb->reps_seen++ % 50000 == 0))
     vb->progress_func(vb->reps_seen, reps_count, NULL,
                       vb->progress_baton,
                       scratch_pool);


Reply via email to