Evidlo / remarkable_news

Daily news/comics on your reMarkable's suspend screen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download immediately when starting the program

anka-213 opened this issue · comments

Especially when testing, I would prefer to not have to wait the full timeout period when you change which thing it should be displaying before seeing the result. I know there is the -test option, but that disables the loop as well.

Why do you want the loop enabled during testing?

Even without -test, the cooldown is reset and the download should begin immediately after each invocation.

The primary use case is when I update the systemd service file. I want to see the result as soon as I restart the service.

From what I can tell from reading the source code and from testing, it first waits the full timeout (e.g. an hour) and then it starts the first download.

This should be fixed with the latest commit.

58b1e32