feat: delay init table

This commit is contained in:
2019-06-12 00:15:41 +08:00
parent 2249552957
commit 0b45fa37da
4 changed files with 57 additions and 1 deletions

View File

@@ -27,7 +27,9 @@ export class Controller {
@postConstruct()
private init(): void {
this.client.setTable(TABLE);
setTimeout(() => {
this.client.setTable(TABLE);
}, 50)
}
@httpGet('/')