Skip to content

Commit

Permalink
feat: make refresh interval actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
leozqin committed May 26, 2024
1 parent 529b11c commit 0ebac69
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
p_settings: GlobalSettings = storage_handler.get_settings()


@repeat_every(seconds=60 * p_settings.refresh_interval , logger=logger)
@repeat_every(seconds=60 * p_settings.refresh_interval, logger=logger)
async def poll_feeds():
logger.info("Checking feeds for updates")
await rss.check_feeds()
Expand Down
2 changes: 1 addition & 1 deletion app/static/icons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/static/output.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions app/templates/handler_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 class="text-2xl justify-center flex my-5">
Schema
</h1>
<div class="mockup-code">
<pre><code>{{ schema }}</code></pre>
<pre><code>{{ schema }}</code></pre>
</div>
</section>
<section class="h-screen">
Expand Down Expand Up @@ -77,4 +77,4 @@ <h1 class="text-2xl justify-center flex my-5">
</section>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion app/templates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ <h1 class="card-title text-4xl lg:text-2xl">
</div>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0ebac69

Please sign in to comment.