revert for update page

This commit is contained in:
Hongbo Wu 2022-12-12 10:17:34 +08:00
parent 3347e81e39
commit 940c449880

View file

@ -240,7 +240,7 @@ export const updatePage = async (
updatedAt: new Date(),
},
},
refresh: 'wait_for', // wait for the index to be refreshed before returning
refresh: ctx.refresh,
retry_on_conflict: 3,
})