You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the following on test/spec/fixtures/schema.sql:
alter role postgrest_test_authenticator set statement_timeout to '10'
Makes the schema cache retry load on an endless loop without backoff:
# $ postgrest-with-postgresql-16 -f test/spec/fixtures/load.sql postgrest-run # ...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
After #3644's 785ae4f, this can easily reproduced by starting PostgREST with an invalid db-schemas setting - your log output will be flooded with errror messages.
Problem
Adding the following on
test/spec/fixtures/schema.sql
:Makes the schema cache retry load on an endless loop without backoff:
Previously reported on #3424 (comment)
The text was updated successfully, but these errors were encountered: