Skip to content

Time to next Autopilot Autofees Run in UI / CLI, with option to change time of day #708

Open
@zapomatic

Description

@zapomatic

Is your feature request related to a problem? Please describe.

Autopilot Autofees management is currently fairly opaque in terms of when it will run next. The documentation says 3 days, so you can get your next run time by manually querying litcli autopilot list and running a unix timestamp conversion of created_at (or examining the last batch of fee updates and checking the day/time), however this is cumbersome.

Additionally, it may be that Autofees was started at a time of day that is not the most optimal time to update fees (e.g. if it runs at 10pm, but traffic on the node tends to spike in the 10pm hour, then triggering autofees at this time will cause a temporary increase of Fee Insufficient errors as downstream peers propagate the new fee quote. For this reason, a node operator might want to use litcli or the Lightning Terminal UI to change the next date/time that Autofees should run (resetting the 3 day timer from that point). This would allow a node to optimize updating fees at the lowest time of day for node routing activity. The only way to currently fix this problem is to stop autofees (by remove the connect session? Also a funky experience) and then re-enabling autofees at the specific time of day desired.

Describe the solution you'd like

Add a UI element that exposes the next fee adjustment run date/time and allows the operator to update the value, resetting the timer to that runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions