This bounty is no longer available
Web3 DAO | Optimism Logo

op-service: opio change to use cleaner urfave v2 shutdown pattern

Organization

Optimism

Deadline

N/A

Status

ENDED


INSTRUCTIONS

  • [ ] opio waits for interrupt signal, but doesn’t cleanly close urfave CLI, we should use app.RunContext (urfave v2) and close the context on interrupt.
  • [ ] Update the main entrypoints of all services to use the cleaner shutdown pattern.
  • [ ] Force-exit on e.g. receiving 10 consecutive interrupts.