Initial query after Neon's suspend_compute

Experiencing problem for the first query when Neon is starting up
1 Reply
iaminarush
iaminarush14mo ago
I have drizzle's logger on and the initial query show's this in console
Query: select "id", "name", "parent_id" from "categories" limit $1 -- params: [100]
Query: select "id", "name", "parent_id" from "categories" limit $1 -- params: [100]
What I see if I call the query when the db is awake
Query: select "id", "name", "parent_id" from "categories" limit $1 -- params: [100]
[
{ id: 2, name: 'Test', parentId: null },
{ id: 3, name: 'Test 2', parentId: null }
]
Query: select "id", "name", "parent_id" from "categories" limit $1 -- params: [100]
[
{ id: 2, name: 'Test', parentId: null },
{ id: 3, name: 'Test 2', parentId: null }
]
Want results from more Discord servers?
Add your server