@rvoh/psychic-workers 0.4.3 → 0.4.4

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.
@@ -443,7 +443,7 @@ class Background {
443
443
  if (!queueInstance)
444
444
  throw new Error(`Missing queue for: ${jobConfig.queue?.toString()}`);
445
445
  await queueInstance.upsertJobScheduler(schedulerId, { pattern }, {
446
- name: schedulerId,
446
+ name: 'BackgroundJobQueueStaticJob',
447
447
  opts: scheduleOpts,
448
448
  data: {
449
449
  globalName,
@@ -439,7 +439,7 @@ export class Background {
439
439
  if (!queueInstance)
440
440
  throw new Error(`Missing queue for: ${jobConfig.queue?.toString()}`);
441
441
  await queueInstance.upsertJobScheduler(schedulerId, { pattern }, {
442
- name: schedulerId,
442
+ name: 'BackgroundJobQueueStaticJob',
443
443
  opts: scheduleOpts,
444
444
  data: {
445
445
  globalName,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "name": "@rvoh/psychic-workers",
4
4
  "description": "Background job system for Psychic applications",
5
- "version": "0.4.3",
5
+ "version": "0.4.4",
6
6
  "author": "RVO Health",
7
7
  "repository": {
8
8
  "type": "git",