Commit 163e369
committed
periodic checkpoint: Don't checkpoint at startup
Currently there's no way to disable checkpoint but one can
emulate it by enabling periodic checkpoint with really long
interval between checkpoints.
Unfortunately, current implementation runs checkpoint first
before waiting for the interval to pass.
This change makes the periodic checkpoint to first wait
and only after that checkpoint.
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>1 parent f8954db commit 163e369
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
371 | 373 | | |
372 | 374 | | |
373 | 375 | | |
| |||
0 commit comments