]> andersk Git - moira.git/commitdiff
added deadlock retry parameters
authormar <mar>
Tue, 28 Nov 1989 17:08:23 +0000 (17:08 +0000)
committermar <mar>
Tue, 28 Nov 1989 17:08:23 +0000 (17:08 +0000)
include/dcm.h

index e8f893eefde3d29b6c29acc44846fa456bd1dee7..5a51294af58217f6561dce1861af489b1143fe44 100644 (file)
@@ -9,6 +9,11 @@
 #define HARD_FAIL(x)   (((x) != 0 ) && ((x) != SMS_NO_CHANGE))
 #define SOFT_FAIL(x)   (((x) == SMS_NO_MEM) || ((x) == SMS_CANT_CONNECT) || ((x) == SMS_CCONFIG) || ((x) == SMS_DEADLOCK))
 
+
+#define DEADLOCK_WAIT  (3 * 60)        /* number of seconds to wait after
+                                          a deadlock before trying again. */
+#define DEADLOCK_TRIES 40              /* how many times to try (2 hours) */
+
 #define UMASK          0007
 
 extern char *malloc(), *calloc(), *realloc();
This page took 1.064051 seconds and 5 git commands to generate.