Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use updatedAt instead of editedAt for locked documents #8324

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

DanRibbens
Copy link
Contributor

@DanRibbens DanRibbens commented Sep 20, 2024

  • Removes locked documents editedAt as it was redundant with the updatedAt timestamp
  • Adjust stale lock tests to configure the duration down to 1 second and await it to not lose any test coverage
  • DB performance changes:
    1. Switch to payload.db.find instead of payload.find for checkDocumentLockStatus to avoid populating the user and other payload find overhead
    2. Add maxDepth: 1 to user relationship
    3. Add index to global slug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant