浏览代码

Don't check threshold > load_limit

Serj Kalichev 7 年之前
父节点
当前提交
dba24e60d0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      birq.c

+ 2 - 1
birq.c

@@ -110,10 +110,11 @@ int main(int argc, char **argv)
 	}
 
 	/* Validate threshold and load limit */
-	if (opts->load_limit > opts->threshold) {
+/*	if (opts->load_limit > opts->threshold) {
 		fprintf(stderr, "Error: The load limit is greater than threshold.\n");
 		goto err;
 	}
+*/
 
 	/* Initialize syslog */
 	openlog(argv[0], LOG_CONS, opts->log_facility);