Skip to content

Commit

Permalink
UI: set do_initial_snapshot to true for resync (#1180)
Browse files Browse the repository at this point in the history
Always set `do_initial_snapshot` to true for resync
This has been manually tested for a mirror with that setting set to
false and then resynced
  • Loading branch information
Amogh-Bharadwaj authored Jan 30, 2024
1 parent cfab700 commit c3a753d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/components/ResyncDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const ResyncDialog = ({
setSyncing(true);
setMsg('Resyncing...');
mirrorConfig.resync = true;
mirrorConfig.doInitialSnapshot = true;
const createStatus = await fetch('/api/mirrors/cdc', {
method: 'POST',
body: JSON.stringify({
Expand Down

0 comments on commit c3a753d

Please sign in to comment.