You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,14 +248,13 @@ We might need to override things in the task being sent to Cloud Tasks. The `pre
248
248
249
249
Some hooks are included in the library.
250
250
251
-
-`oidc_hook`- Used to work with Cloud Run.
252
-
-`deadline_hook` - Used to change the timeout for the worker of a task. (PS: this deadline is decided by the sender to the queue and not the worker)
251
+
-`oidc_task_hook` / `oidc_scheduler_hook`- Used to pass OIDC token (for Cloud Run etc).
252
+
-`deadline_task_hook` / `deadline_scheduler_hook` - Used to change the timeout for the worker of a task. (PS: this deadline is decided by the sender to the queue and not the worker)
253
253
-`chained_hook` - If you need to chain multiple hooks together, you can do that with `chained_hook(hook1, hook2)`
254
254
255
255
## Future work
256
256
257
257
- Ensure queue exists.
258
-
- ✔️Integrate with [Cloud Scheduler](https://cloud.google.com/scheduler/) to replace celery beat.
0 commit comments