#5203 (update_publisher_pages() doesn't run)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 2 Jahre, 11 Monate ago von Luc Saffre about #5203 (update_publisher_pages() doesn't run) : I found the explanation. The RunNow action was calling obj.start_taska(ar), but this method is marked async. Calling such a method just returns a coroutine object. To actually run it, I can say (for example) "async_to_sync(obj.start_task)(ar)".
- 2 Jahre, 11 Monate ago von Luc Saffre about #5203 (update_publisher_pages() doesn't run) : This is a new linod procedure scheduled daily. And in a development environment I want to run it manually. That's why we have the run_now action on linod.Task. But when I click on it, start_task() gets called but the task doesn't start.
- 2 Jahre, 11 Monate ago von Luc Saffre about #5203 (update_publisher_pages() doesn't run) : Created new Ticket #5203 (update_publisher_pages() doesn't run).