fix off-by-one error in replication download

This commit is contained in:
Sarah Hoffmann
2021-02-04 17:04:04 +01:00
parent 82ef02cd1a
commit 861e67dfe8
2 changed files with 3 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ def update(conn, options):
repl = ReplicationServer(options['base_url'])
outhandler = WriteHandler(str(options['import_file']))
endseq = repl.apply_diffs(outhandler, startseq,
endseq = repl.apply_diffs(outhandler, startseq + 1,
max_size=options['max_diff_size'] * 1024)
outhandler.close()