From 3be484488dc445ab7aba412b0f5b2d8df3c36a66 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Tue, 30 May 2023 09:50:33 +0200 Subject: [PATCH] docs: correct autobudgetrefreshperiod example --- docs/autoloop.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/autoloop.md b/docs/autoloop.md index 1d7af90..b8d8abe 100644 --- a/docs/autoloop.md +++ b/docs/autoloop.md @@ -187,16 +187,16 @@ Your autoloop budget is refreshed based on a configurable interval. You can specify how often the budget is going to refresh by using the `setparams` loop command: ``` -loop setparams --autobudgetrefreshperiod={duration in seconds} +loop setparams --autobudgetrefreshperiod={duration} ``` If your autolooper has used up its budget, and you would like to top it up, you can do so by either increasing the overall budget amount, or by decreasing the refresh interval. For example, if you want to set your autolooper to -have a budget of 100k sats per 7 days (or 604800 seconds), you could set the following: +have a budget of 100k sats every 168 hours, you could set the following: ``` -loop setparams --autobudget=100000 --autobudgetrefreshperiod=604800 +loop setparams --autobudget=100000 --autobudgetrefreshperiod=168h ``` ## Dispatch Control