harmless mistake in constructor
authorGreg Koenig <koenig@uiuc.edu>
Mon, 27 Nov 2006 02:01:23 +0000 (02:01 +0000)
committerGreg Koenig <koenig@uiuc.edu>
Mon, 27 Nov 2006 02:01:23 +0000 (02:01 +0000)
src/ck-ldb/GridCommLB.C

index fef676b981fd585176bc9e77ea9c21a3a154589a..612d202846edf976526a5231bf9810d04b0b2967 100644 (file)
@@ -100,6 +100,12 @@ GridCommLB::GridCommLB (CkMigrateMessage *msg) : CentralLB (msg)
     CK_LDB_GridCommLB_Mode = CK_LDB_GRIDCOMMLB_MODE;
   }
 
+  if (value = getenv ("CK_LDB_GRIDCOMMLB_BACKGROUND_LOAD")) {
+    CK_LDB_GridCommLB_Background_Load = atoi (value);
+  } else {
+    CK_LDB_GridCommLB_Background_Load = CK_LDB_GRIDCOMMLB_BACKGROUND_LOAD;
+  }
+
   if (value = getenv ("CK_LDB_GRIDCOMMLB_LOAD_TOLERANCE")) {
     CK_LDB_GridCommLB_Load_Tolerance = atof (value);
   } else {