Skip to content

Commit

Permalink
Bug Fix #2: Incorrect thresholds value
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnaverse committed Aug 9, 2023
1 parent bce890b commit 363c3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const app = express();

const serviceName = process.env.MONITOR_SERVICE_NAME ? process.env.MONITOR_SERVICE_NAME : 'ssh'; // service name. Default ssh.
const numLines = process.env.NUM_LOG_LINE ? process.env.NUM_LOG_LINE : 50; // number of lines to read from the log
const thresholds = process.env.NUM_LOG_LINE ? process.env.NUM_LOG_LINE : 15; // thresholds trigger restart
const thresholds = process.env.LOG_THRESHOLDS ? process.env.LOG_THRESHOLDS : 15; // thresholds trigger restart
const phraseToFind_no_header = process.env.PHRASE_TO_FIND_NO_HEADER ? process.env.PHRASE_TO_FIND_NO_HEADER : 'No block headers to write in this log period block number'; // phrase for finding trigger log
const phraseToFind_no_body = process.env.PHRASE_TO_FIND_NO_BODY ? process.env.PHRASE_TO_FIND_NO_BODY : 'No block bodies to write in this log period block number'; // phrase for finding trigger log
const promPort = process.env.PROM_PORT ? process.env.PROM_PORT : 9102; // prometheus port. Default 9102.
Expand Down

0 comments on commit 363c3a5

Please sign in to comment.