Startup fixes #449

Merged
bones7242 merged 3 commits from startup-fixes into master 2018-05-18 05:34:07 +02:00
bones7242 commented 2018-05-18 03:13:06 +02:00 (Migrated from github.com)
  • high level error detection checks for lbrynet and retrieves wallet balance on startup
  • removed confusing test of error log
  • added a step to create the database if it was not already created
- high level error detection checks for lbrynet and retrieves wallet balance on startup - removed confusing test of error log - added a step to create the database if it was not already created
neb-b (Migrated from github.com) approved these changes 2018-05-18 03:19:31 +02:00
neb-b (Migrated from github.com) left a comment

Looks good but a few formatting questions. I would definitely recommend adding prettier to this project.

Looks good but a few formatting questions. I would definitely recommend adding prettier to this project.
neb-b (Migrated from github.com) commented 2018-05-18 03:17:21 +02:00

This is formatted weird

This is formatted weird
neb-b (Migrated from github.com) commented 2018-05-18 03:18:14 +02:00

These can all live inside one .then after the getWalletBalance()

No need to break them up

These can all live inside one `.then` after the `getWalletBalance()` No need to break them up
bones7242 (Migrated from github.com) reviewed 2018-05-18 04:05:40 +02:00
bones7242 (Migrated from github.com) commented 2018-05-18 04:05:40 +02:00

I tried updating a bit, is this what you had in mind? I'm still a little fuzzy on the best patterns for chaining and when to use .then, but I suppose db.sequelize.sync and this.server.listen can be handled asynchronously

I tried updating a bit, is this what you had in mind? I'm still a little fuzzy on the best patterns for chaining and when to use `.then`, but I suppose `db.sequelize.sync` and `this.server.listen` can be handled asynchronously
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/spee.ch#449
No description provided.