Skip to content

Commit

Permalink
i love being inefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 committed May 22, 2024
1 parent fa297eb commit e5126c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# notion-web-api

A public connector api between the LCSC website and our internal Notion database
A public connector api between the LCSC website and our internal Notion database.

New data is pulled every minute.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def start_uvicorn():
def refresh_from_notion():

updateDataFromNotion()
schedule.every(5).minutes.do(updateDataFromNotion)
schedule.every(1).minutes.do(updateDataFromNotion)

while True:
schedule.run_pending()
Expand Down

0 comments on commit e5126c4

Please sign in to comment.