File tree Expand file tree Collapse file tree
services/apps/members_enrichment_worker/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const scheduleMembersEnrichment = async () => {
1414 await svc . temporal . schedule . create ( {
1515 scheduleId : 'members-enrichment-multiple-sources' ,
1616 spec : {
17- cronExpressions : [ '0 6 * * *' ] ,
17+ cronExpressions : [ '0 * * * *' ] ,
1818 } ,
1919 policies : {
2020 overlap : ScheduleOverlapPolicy . SKIP ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default class EnrichmentServiceSerpApi extends LoggerBase implements IEnr
3232 // bust cache after 120 days
3333 public cacheObsoleteAfterSeconds = 60 * 60 * 24 * 120
3434
35- public maxConcurrentRequests = 300
35+ public maxConcurrentRequests = 10
3636
3737 constructor ( public readonly log : Logger ) {
3838 super ( log )
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ const {
2727} = proxyActivities < typeof activities > ( {
2828 startToCloseTimeout : '7 minutes' ,
2929 retry : {
30- maximumAttempts : 3 ,
30+ maximumAttempts : 4 ,
3131 initialInterval : '5 minutes' ,
3232 backoffCoefficient : 2 ,
33- maximumInterval : '10 minutes' ,
33+ maximumInterval : '20 minutes' ,
3434 } ,
3535} )
3636
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export async function getMembersToEnrich(): Promise<void> {
2323 MemberEnrichmentSource . PROGAI ,
2424 MemberEnrichmentSource . CLEARBIT ,
2525 MemberEnrichmentSource . PROGAI_LINKEDIN_SCRAPER ,
26+ MemberEnrichmentSource . CRUSTDATA ,
2627 ]
2728
2829 const members = await getEnrichableMembers ( QUERY_FOR_ENRICHABLE_MEMBERS_PER_RUN , sources )
You can’t perform that action at this time.
0 commit comments