gae-backends

How to use Modules in Google App Engine and add a target to them using Task Queue (Java)?

大城市里の小女人 提交于 2019-12-02 02:40:18
问题 I have a task that exceeds more than 10 minutes deadline of the Task Queue. Going through different documentations, I found that using modules I could run an instance that would process the long running task but preferably even that should be done using the task queue. I had used backends but they are deprecated. My question is how do I introduce Modules into my existing App Engine Project and how do I use them to run long-running tasks? Following is the piece of code : Queue queue =

How to use Modules in Google App Engine and add a target to them using Task Queue (Java)?

拟墨画扇 提交于 2019-12-01 23:35:12
I have a task that exceeds more than 10 minutes deadline of the Task Queue. Going through different documentations, I found that using modules I could run an instance that would process the long running task but preferably even that should be done using the task queue. I had used backends but they are deprecated. My question is how do I introduce Modules into my existing App Engine Project and how do I use them to run long-running tasks? Following is the piece of code : Queue queue = QueueFactory.getQueue("myqueue"); TaskOptions task = TaskOptions.Builder.withUrl("/submitworker").method(Method