We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd6a59 commit ccb7236Copy full SHA for ccb7236
backend/api/src/create-profile.ts
@@ -50,7 +50,7 @@ export const createProfile: APIHandler<'create-profile'> = async (body, auth) =>
50
console.error('Failed to track create profile', e)
51
}
52
try {
53
- await sleep(2000) // Wait until the profile is fully in the db, otherwise ISR may cache "profile not created yet"
+ await sleep(10000) // Wait until the profile is fully in the db, otherwise ISR may cache "profile not created yet"
54
let message: string = `[**${user.name}**](https://www.compassmeet.com/${user.username}) just created a profile`
55
if (body.bio) {
56
const bioText = jsonToMarkdown(body.bio)
0 commit comments