core/service: drop redundant flush_n_restarts indicator
authorMike Yuan <me@yhndnzj.com>
Sat, 3 Aug 2024 19:46:51 +0000 (21:46 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Aug 2024 00:37:59 +0000 (09:37 +0900)
commitce31dbf4455c94d6639d5be1f90239d3a7ad78c0
tree2798b29bc6a034e8345630d7d6f64bdbf55eed75
parentcec96f12ff7efd78c48241a18f61f935345f4ddd
core/service: drop redundant flush_n_restarts indicator

Now that we track auto-restarts with a dedicated state,
there's no need for a separate variable for this.

I also took the chance to reorder some struct members.
src/core/service.c
src/core/service.h