Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/libexec/lfs_cleanerd Pull up revision 1.9 (requested by...
details: https://anonhg.NetBSD.org/src/rev/dad4a0dc7c5f
branches: netbsd-1-4
changeset: 469872:dad4a0dc7c5f
user: he <he%NetBSD.org@localhost>
date: Thu Dec 16 23:49:45 1999 +0000
description:
Pull up revision 1.9 (requested by perseant):
If the cleaner is being respawned and dies repeatedly, avoid
looping.
diffstat:
libexec/lfs_cleanerd/clean.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 55895236ce7e -r dad4a0dc7c5f libexec/lfs_cleanerd/clean.h
--- a/libexec/lfs_cleanerd/clean.h Thu Dec 16 23:31:46 1999 +0000
+++ b/libexec/lfs_cleanerd/clean.h Thu Dec 16 23:49:45 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clean.h,v 1.7.2.1 1999/11/09 21:49:25 he Exp $ */
+/* $NetBSD: clean.h,v 1.7.2.2 1999/12/16 23:49:45 he Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -73,6 +73,9 @@
#define FIVE_MIN 1
#define FIFTEEN_MIN 2
+#define TIME_THRESHOLD 5 /* Time to tell looping from running */
+#define LOOP_THRESHOLD 5 /* Number of looping respawns before exit */
+
#include <sys/time.h>
typedef struct fs_info {
Home |
Main Index |
Thread Index |
Old Index