retry max three times if update is conflicted

This commit is contained in:
Hongbo Wu 2022-03-18 10:17:20 +08:00
parent 7650a12be3
commit ac567f7e71

View file

@ -201,6 +201,7 @@ export const updatePage = async (
},
},
refresh: ctx.refresh,
retry_on_conflict: 3,
})
if (body.result !== 'updated') return false