mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 21:57:54 +00:00
Disable memory healthcheck
Temporarily disable the memory healthcheck to test for existing memory leaks. Change-type: minor
This commit is contained in:
parent
cb465a1d81
commit
b385bf5810
@ -7,7 +7,6 @@ import SupervisorAPI from './device-api';
|
||||
import * as v1 from './device-api/v1';
|
||||
import * as v2 from './device-api/v2';
|
||||
import logMonitor from './logging/monitor';
|
||||
import * as memory from './memory';
|
||||
|
||||
import { initializeContractRequirements } from './lib/contracts';
|
||||
import { normaliseLegacyDatabase } from './lib/legacy';
|
||||
@ -72,11 +71,7 @@ export class Supervisor {
|
||||
log.info('Starting API server');
|
||||
this.api = new SupervisorAPI({
|
||||
routers: [v1.router, v2.router],
|
||||
healthchecks: [
|
||||
apiBinder.healthcheck,
|
||||
deviceState.healthcheck,
|
||||
memory.healthcheck,
|
||||
],
|
||||
healthchecks: [apiBinder.healthcheck, deviceState.healthcheck],
|
||||
});
|
||||
deviceState.on('shutdown', () => this.api.stop());
|
||||
return this.api.listen(conf.listenPort, conf.apiTimeout);
|
||||
|
Loading…
Reference in New Issue
Block a user