diff --git a/README.md b/README.md index c486670..10e17fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # notion-web-api -A public connector api between the LCSC website and our internal Notion database \ No newline at end of file +A public connector api between the LCSC website and our internal Notion database. + +New data is pulled every minute. \ No newline at end of file diff --git a/main.py b/main.py index 2ea2c12..d9e1d00 100644 --- a/main.py +++ b/main.py @@ -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()