summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-12-02 14:17:18 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-03 02:00:43 -0800
commita3d5eb9b2a08190528b1e024bdfbff41c0a6b88f (patch)
tree136285b0c6ffb5728777d4367d350c7bd189d542 /xlators/storage/posix
parentbe762405e773ac25054cd08ba7f5760389db3bdd (diff)
storage/posix: Change janitor sleep duration to 10 minutes.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 227 (replicate selfheal does not remove directory with contents in it) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=227
Diffstat (limited to 'xlators/storage/posix')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 2bcdd0d0a..a48d2f42d 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -1354,7 +1354,7 @@ janitor_walker (const char *fpath, const struct stat *sb,
}
-#define JANITOR_SLEEP_DURATION 2
+#define JANITOR_SLEEP_DURATION 600
static void *
posix_janitor_thread_proc (void *data)