status dashboard says no, but just for

status dashboard says no, but just for my sanity there's no known issue with d1 is there? getting sudden huge spikes in latency (47,000ms) for very simple requests which were fine previously
const findActivityStartTime = performance.now();
const activity = await prisma.activity.findFirst({
where: {
id: activityId,
goalId: goalId,
goal: {
userId: user.id,
},
},
});
const findActivityEndTime = performance.now();
console.log(
`Time to find activity: ${findActivityEndTime - findActivityStartTime}ms`
);
const findActivityStartTime = performance.now();
const activity = await prisma.activity.findFirst({
where: {
id: activityId,
goalId: goalId,
goal: {
userId: user.id,
},
},
});
const findActivityEndTime = performance.now();
console.log(
`Time to find activity: ${findActivityEndTime - findActivityStartTime}ms`
);
I don't actually see the requests in the metrics page
3 Replies
will smith
will smithOP3w ago
This is not a large db, 65 kB. Now got an error log: PrismaClientUnknownRequestError: Invalid prisma.goal.findMany() invocation: Error occurred during query execution: ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(SqliteError { extended_code: 1, message: Some("D1_ERROR: Network connection lost.") }), transient: false }) So i'm guessing the issue's not on my end seeing recovery now but would be great to get acknowledgement of an issue once you know more
will smith
will smithOP3w ago
No description
will smith
will smithOP2w ago
db id 3d4f24ec-fa8d-4920-82b2-179fad18b18c

Did you find this page helpful?