Commit b467c1a2 authored by Georgios Konstantopoulos's avatar Georgios Konstantopoulos Committed by GitHub

fix(base-service): set the service to running before calling _start (#30)

parent 021d955c
......@@ -49,9 +49,11 @@ export class BaseService<T> {
}
this.logger.info('Service is starting...')
await this.init()
// set the service to running
this.running = true
await this._start()
this.logger.info('Service has started')
this.running = true
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment