File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 99from fastapi_cloud_tasks .utils import location_path
1010from fastapi_cloud_tasks .utils import queue_path
1111
12- TASK_LISTENER_BASE_URL = os .getenv ("TASK_LISTENER_BASE_URL" , default = "https://65fb -35-207-241-4.ngrok.io" )
12+ TASK_LISTENER_BASE_URL = os .getenv ("TASK_LISTENER_BASE_URL" , default = "https://645e -35-207-241-4.ngrok.io" )
1313TASK_PROJECT_ID = os .getenv ("TASK_PROJECT_ID" , default = "sample-project" )
1414TASK_LOCATION = os .getenv ("TASK_LOCATION" , default = "asia-south1" )
1515SCHEDULED_LOCATION = os .getenv ("SCHEDULED_LOCATION" , default = "us-central1" )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ async def scheduled_hello(p: Payload = Payload(message="Default")):
7575
7676scheduled_hello .scheduler (
7777 name = "testing-examples-scheduled-hello" ,
78- schedule = "* * * * *" ,
78+ schedule = "*/5 * * * *" ,
7979 time_zone = "Asia/Kolkata" ,
8080).schedule (p = Payload (message = "Scheduled" ))
8181
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ def schedule(self, **kwargs):
8080 request = self .pre_create_hook (request )
8181
8282 if self .force or self ._has_changed (request = request ):
83- print ("Changed" )
8483 # Delete and create job
8584 self .delete ()
8685 self .client .create_job (request = request , timeout = self .job_create_timeout )
You can’t perform that action at this time.
0 commit comments