Skip to content

perf: Allow bypassing 3rd party calendar busy times#17492

Merged
keithwillcode merged 4 commits into
mainfrom
perf/get-slots-no-3rd-party
Nov 5, 2024
Merged

perf: Allow bypassing 3rd party calendar busy times#17492
keithwillcode merged 4 commits into
mainfrom
perf/get-slots-no-3rd-party

Conversation

@keithwillcode
Copy link
Copy Markdown
Contributor

What does this PR do?

To help with debugging perf, we can skip the calls to 3rd party calendars.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

@keithwillcode keithwillcode requested a review from a team November 5, 2024 13:41
@keithwillcode keithwillcode self-assigned this Nov 5, 2024
@keithwillcode keithwillcode added this to the v4.7 milestone Nov 5, 2024
@dosubot dosubot Bot added the performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive label Nov 5, 2024
@keithwillcode keithwillcode added core area: core, team members only foundation labels Nov 5, 2024
@keithwillcode keithwillcode marked this pull request as draft November 5, 2024 13:43
@graphite-app graphite-app Bot requested a review from a team November 5, 2024 13:43
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Nov 5, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (11/05/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 2:51pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 2:51pm

eventTypeId,
userId,
returnDateOverrides: true,
bypassBusyCalendarTimes: false,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just skip setting this since it's false by default?

Suggested change
bypassBusyCalendarTimes: false,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TypeScript was complaining

Copy link
Copy Markdown
Contributor

@zomars zomars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keithwillcode keithwillcode merged commit ed6d88e into main Nov 5, 2024
@keithwillcode keithwillcode deleted the perf/get-slots-no-3rd-party branch November 5, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only foundation performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants