mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-02 13:58:18 -05:00
Sleep more
This commit is contained in:
@@ -50,7 +50,7 @@ export const createProfile: APIHandler<'create-profile'> = async (body, auth) =>
|
||||
console.error('Failed to track create profile', e)
|
||||
}
|
||||
try {
|
||||
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"
|
||||
let message: string = `[**${user.name}**](https://www.compassmeet.com/${user.username}) just created a profile`
|
||||
if (body.bio) {
|
||||
const bioText = jsonToMarkdown(body.bio)
|
||||
|
||||
Reference in New Issue
Block a user