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

feat: log schema cache load time #3253

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

steve-chavez
Copy link
Member

@steve-chavez steve-chavez commented Feb 21, 2024

Helps with #3046 also with #2450. Logs now show:

21/Feb/2024:15:48:37 -0500: Starting PostgREST 12.1 (160caaf)...
...
21/Feb/2024:15:48:37 -0500: Schema cache queried in 18.3 milliseconds
21/Feb/2024:15:48:37 -0500: Schema cache loaded 264 Relations, 221 Relationships, 141 Functions, 15 Domain Representations, 45 Media Type Handlers
21/Feb/2024:15:48:37 -0500: Schema cache loaded in 12.2 milliseconds

@steve-chavez steve-chavez merged commit 3a3601c into PostgREST:main Feb 21, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant