Coder Social home page Coder Social logo

Comments (4)

tangxiaoqi-tangxiao avatar tangxiaoqi-tangxiao commented on September 22, 2024

因为我看这个项目是通过定时请求api来实现定时任务,那api长时间无响应,是会一直等待还是怎么处理

from quartzui.

hd2y avatar hd2y commented on September 22, 2024

看了下代码没用 HttpClientFactory,那就没办法灵活的注入配置了,建议还是 Fork 下来改一下再用吧。

https://github.com/zhaopeiym/quartzui/blob/d1f5d7ed85593b9f2a78fdf107eb2844e01fbdb7/QuartzNetAPI/Host/Common/HttpHelper.cs

from quartzui.

huangyedie avatar huangyedie commented on September 22, 2024

这种长时间的api,建议还是使用调度的方式来执行,可以使用这个调度器来定时创建任务,由后台代码执行此调度创建出的任务。

from quartzui.

huangyedie avatar huangyedie commented on September 22, 2024

如果我的任务需要执行一个小时,应该怎么处理的呢

前端会返回超时,但是后台还会在执行

from quartzui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.