gitroomhq / gitroom

πŸ“¨ Schedule social media and articles. Exchange or buy posts from other members πŸ‘¨πŸ»β€πŸ’». Monitor your GitHub trending, and so much more πŸ“ˆ.

Home Page:https://postiz.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Bug Report: Removing GitHub trending logic

nevo-david opened this issue Β· comments

πŸ“œ Description

At the moment, we check every hour if the trending feed refreshed and, let people know and log it.
It's a bit - after a deeper research I have come to the realization that the trending feed refreshes every day at precisely 12pm UTC time.
That means that

  1. We can remove the TrendingLog table and just add it as a fixed date in the dashboard.
  2. We can check for the trending feed refresh at 12pm UTC time and not every hour.

πŸ‘Ÿ Reproduction steps

πŸ‘ Expected behavior

We should have the same thing - less resources being used and higher chances of avoiding problems (for example, cron not running at a specific hour for some reason)

πŸ‘Ž Actual Behavior with Screenshots

πŸ’» Operating system

Linux

πŸ€– Node Version

20

πŸ“ƒ Provide any additional context for the Bug.

No response

πŸ‘€ Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None