Skip to content

Commit 14f5721

Browse files
committed
chore: remove unused affiliation recalculation schedules and workflows
1 parent 8416a82 commit 14f5721

File tree

4 files changed

+0
-65
lines changed

4 files changed

+0
-65
lines changed

services/apps/profiles_worker/src/main.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
scheduleRefreshMemberDisplayAggregates,
88
scheduleRefreshOrganizationDisplayAggregates,
99
} from './schedules/refreshDisplayAggregates'
10-
import { scheduleRecalculateAffiliationsOfNewRoles } from './schedules/triggerRecalculateAffiliationsOfNewRoles'
1110

1211
const config: Config = {
1312
producer: {
@@ -38,8 +37,6 @@ export const svc = new ServiceWorker(config, options)
3837
setImmediate(async () => {
3938
await svc.init()
4039

41-
await scheduleRecalculateAffiliationsOfNewRoles()
42-
4340
// Aggregate calculation schedules
4441
if (IS_DEV_ENV) {
4542
await scheduleCalculateLeafSegmentAggregates() // Every 5 minutes - calculates leaf/subproject aggregates

services/apps/profiles_worker/src/schedules/triggerRecalculateAffiliationsOfNewRoles.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

services/apps/profiles_worker/src/workflows.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { memberUpdate } from './workflows/member/memberUpdate'
66
import { processMemberBotAnalysisWithLLM } from './workflows/member/processMemberBotAnalysisWithLLM'
77
import { recalculateAffiliationsForNewRoles } from './workflows/member/recalculateAffiliationsForNewRoles'
88
import { refreshMemberDisplayAggregates } from './workflows/member/refreshMemberDisplayAggregates'
9-
import { triggerRecalculateAffiliations } from './workflows/member/triggerRecalculateAffiliations'
109
import { calculateProjectGroupOrganizationAggregates } from './workflows/organization/calculateProjectGroupOrganizationAggregates'
1110
import { calculateProjectOrganizationAggregates } from './workflows/organization/calculateProjectOrganizationAggregates'
1211
import { organizationUpdate } from './workflows/organization/organizationUpdate'
@@ -16,7 +15,6 @@ export {
1615
memberUpdate,
1716
organizationUpdate,
1817
recalculateAffiliationsForNewRoles,
19-
triggerRecalculateAffiliations,
2018
refreshMemberDisplayAggregates,
2119
refreshOrganizationDisplayAggregates,
2220
processMemberBotAnalysisWithLLM,

services/apps/profiles_worker/src/workflows/member/triggerRecalculateAffiliations.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)