Skip to content

Commit

Permalink
hotfix notion sync 2 (#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Sep 11, 2023
1 parent 23a0c3b commit 80e32e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions connectors/src/connectors/notion/temporal/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export async function runNotionWorker() {
taskQueue: QUEUE_NAME,
connection,
namespace,
maxConcurrentActivityTaskExecutions: 3,
interceptors: {
activityInbound: [
(ctx: Context) => {
Expand Down
2 changes: 1 addition & 1 deletion connectors/src/connectors/notion/temporal/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const INTERVAL_BETWEEN_SYNCS_MS = 60_000; // 1 minute
const MAX_CONCURRENT_CHILD_WORKFLOWS = 1;
const MAX_PAGE_IDS_PER_CHILD_WORKFLOW = 100;

const MAX_PENDING_UPSERT_ACTIVITIES = 1;
const MAX_PENDING_UPSERT_ACTIVITIES = 5;

export const getLastSyncPeriodTsQuery = defineQuery<number | null, []>(
"getLastSyncPeriodTs"
Expand Down

0 comments on commit 80e32e1

Please sign in to comment.