@orion-js/dogs 3.1.0-alpha.14 → 3.1.0-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,6 +104,9 @@ let JobsRepo = class JobsRepo {
104
104
  });
105
105
  }
106
106
  async ensureJobRecord(job) {
107
+ logger_1.logger.info(`Waiting for db connection...`);
108
+ await this.jobs.connectionPromise;
109
+ logger_1.logger.info(`Ensuring records`);
107
110
  const result = await this.jobs.upsert({
108
111
  jobName: job.name
109
112
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-js/dogs",
3
- "version": "3.1.0-alpha.14",
3
+ "version": "3.1.0-alpha.15",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "36de6862412659541fbc64d38879995227be4184"
42
+ "gitHead": "891d47c4481bf36f133eee5bc56140c410a3b760"
43
43
  }