Skip to content

Commit

Permalink
build: Apply eslint fixes to the GC stack
Browse files Browse the repository at this point in the history
  • Loading branch information
jdforrester committed May 4, 2024
1 parent fd28088 commit e759cdf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ services:
port: 12345
interface: localhost
# more per-service config settings

1 change: 1 addition & 0 deletions lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class Worker extends BaseService {
// For 0.10: npm install heapdump
process.on( 'SIGUSR2', this._dumpHeapHandler = () => {
try {
// eslint-disable-next-line n/no-missing-require
const heapdump = require( 'heapdump' );
const cwd = process.cwd();
console.error( 'SIGUSR2 received! Writing snapshot.' );
Expand Down
2 changes: 1 addition & 1 deletion test/features/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe( 'service-runner tests', () => {
} );

it( 'Must produce prometheus default metrics when hit ', () => {
const server = new TestServer( `${__dirname}/../utils/simple_config_no_workers_collect_default.yaml` );
const server = new TestServer( `${ __dirname }/../utils/simple_config_no_workers_collect_default.yaml` );
const response = { status: null, body: null };
return server.start()
.then( () => {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/simple_config_no_workers_collect_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ logging:
metrics:
- type: prometheus
port: 9000
collect_default: true
collect_default: true
- type: statsd
host: localhost
port: 8125
Expand Down

0 comments on commit e759cdf

Please sign in to comment.