Skip to content

Commit ccb7236

Browse files
committed
Sleep more
1 parent bfd6a59 commit ccb7236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/api/src/create-profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const createProfile: APIHandler<'create-profile'> = async (body, auth) =>
5050
console.error('Failed to track create profile', e)
5151
}
5252
try {
53-
await sleep(2000) // Wait until the profile is fully in the db, otherwise ISR may cache "profile not created yet"
53+
await sleep(10000) // Wait until the profile is fully in the db, otherwise ISR may cache "profile not created yet"
5454
let message: string = `[**${user.name}**](https://www.compassmeet.com/${user.username}) just created a profile`
5555
if (body.bio) {
5656
const bioText = jsonToMarkdown(body.bio)

0 commit comments

Comments
 (0)