Skip to content

Commit 2edf667

Browse files
committed
add missing schedule call
1 parent 1bba738 commit 2edf667

File tree

1 file changed

+5
-0
lines changed
  • services/apps/script_executor_worker/src

1 file changed

+5
-0
lines changed

services/apps/script_executor_worker/src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Config } from '@crowd/archetype-standard'
22
import { Options, ServiceWorker } from '@crowd/archetype-worker'
33

4+
import { schedulePopulateActivityRelations } from './schedules/schedulePopulateActivityRelations'
5+
46
const config: Config = {
57
envvars: ['CROWD_API_SERVICE_URL', 'CROWD_API_SERVICE_USER_TOKEN'],
68
producer: {
@@ -30,5 +32,8 @@ export const svc = new ServiceWorker(config, options)
3032

3133
setImmediate(async () => {
3234
await svc.init()
35+
36+
await schedulePopulateActivityRelations()
37+
3338
await svc.start()
3439
})

0 commit comments

Comments
 (0)