about summary refs log tree commit diff
path: root/src/tests.rs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-06-16T16·40+0200
committerVincent Ambo <github@tazj.in>2018-06-16T19·38+0200
commite4b4830a045b7ee83d1a3edd02dcfce9a88054e2 (patch)
tree96f2ea6fef3f7f662ce95a56404fa09d3bd92461 /src/tests.rs
parent03a6ea742c5fe85b80fff2b46aaf7b80f28375eb (diff)
feat(main): Persist & load persisted cursor positions
Adds support for persisting the cursor position in a file (by default
`/var/journaldriver/cursor.pos`, overridable via the environment
variable `CURSOR_POSITION_FILE`).

This lets journaldriver resume from a known journal position after
service restarts.

This closes #3
Diffstat (limited to 'src/tests.rs')
0 files changed, 0 insertions, 0 deletions