- Add admin auth dependency and role checks - Expand channel and restaurant API routes - Improve YouTube transcript fetching - Enhance daemon worker with better error handling and scheduling Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
282 B
Python
17 lines
282 B
Python
"""Run the daemon worker."""
|
|
|
|
import logging
|
|
|
|
from dotenv import load_dotenv
|
|
load_dotenv()
|
|
|
|
from daemon.worker import run_loop
|
|
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
|
|
)
|
|
|
|
if __name__ == "__main__":
|
|
run_loop()
|