Error on async job

前端 未结 4 1411
轻奢々
轻奢々 2021-02-20 16:39

I\'m trying to create an async task that will not block the request. The user make the request, the task will start, and the controller will render \"Job is running...\", this i

4条回答
  •  一整个雨季
    2021-02-20 17:05

    I ended using the executor framework with the grails-executor plugin. I uploaded a very basic example here: https://github.com/agusl88/grails-async-job-queuqe

    That code is using a "custom" version of the grails-executor plugin, i merged some PR's from the plugin repo and packaged as jar just for testing propuses. The repo of the plugin is this: https://github.com/basejump/grails-executor

提交回复
热议问题