mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-01 04:22:20 -05:00
Move monitoring TODO
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
040d473b62
commit
7e1123e8a4
2 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,6 @@ export class MonitoringController {
|
||||||
403,
|
403,
|
||||||
)
|
)
|
||||||
getStatus(): Promise<ServerStatusDto> {
|
getStatus(): Promise<ServerStatusDto> {
|
||||||
// TODO: toServerStatusDto.
|
|
||||||
return this.monitoringService.getServerStatus();
|
return this.monitoringService.getServerStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@ import { ServerStatusDto } from './server-status.dto';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class MonitoringService {
|
export class MonitoringService {
|
||||||
|
// TODO Implement Server Status and other routes
|
||||||
|
// (https://github.com/hedgedoc/hedgedoc/issues/478)
|
||||||
async getServerStatus(): Promise<ServerStatusDto> {
|
async getServerStatus(): Promise<ServerStatusDto> {
|
||||||
return {
|
return {
|
||||||
connectionSocketQueueLength: 0,
|
connectionSocketQueueLength: 0,
|
||||||
|
|
Loading…
Reference in a new issue