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 16238ba commit bbe1605Copy full SHA for bbe1605
apps/server/src/services/PostApiService/index.mts
@@ -137,14 +137,12 @@ export class PostApiService implements Service {
137
throw error
138
}
139
140
- try {
141
- await Promise.all([
+ setTimeout(() => {
+ Promise.all([
142
data.is_temp ? null : this.searchService.searchSync.update(post.id),
143
this.graphcdn.purgePost(post.id),
144
- ])
145
- } catch (error) {
146
- console.error(error)
147
- }
+ ]).catch(console.error)
+ })
148
149
if (!post.is_private && data.is_private) {
150
setTimeout(async () => {
0 commit comments