Skip to content

Commit

Permalink
Merge pull request #102 from Cloudshelf/micro-instances
Browse files Browse the repository at this point in the history
Micro instances
  • Loading branch information
ashleyww93 authored Jan 6, 2025
2 parents 7f2605f + 613b0eb commit 92df369
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class BulkOperationFinishedWebhookHandler extends ShopifyWebhookHandler<u
@SentryInstrument('BulkOperationFinishedWebhookHandler')
async handle(domain: string, data: BulkOperationWebhookPayload, webhookId: string): Promise<void> {
this.logger.debug('Received BULK_OPERATIONS_FINISH webhook for domain ' + domain);
this.logger.debug(data);
this.logger.debug('payload', data);

SentryUtil.InformationalTransaction('Webhook:Received', 'BULK_OPERATIONS_FINISH', {
id: domain,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ export const RequestProductGroupsTask = task({
name: `ingestion`,
concurrencyLimit: 1,
},
machine: {
preset: 'micro',
},
run: async (payload: { organisationId: string; fullSync: boolean }, { ctx }) => {
logger.info('Payload', payload);
if (!AppDataSource) {
Expand Down
3 changes: 3 additions & 0 deletions src/trigger/data-ingestion/product/request-products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export const RequestProductsTask = task({
name: `ingestion`,
concurrencyLimit: 1,
},
machine: {
preset: 'micro',
},
run: async (payload: { organisationId: string; fullSync: boolean }, { ctx }) => {
logger.info('Payload', payload);
if (!AppDataSource) {
Expand Down

0 comments on commit 92df369

Please sign in to comment.