Code Monkey home page Code Monkey logo

Comments (3)

yuzd avatar yuzd commented on June 21, 2024

你确认下真正执行的时候是在Queue:test吗?
如果是的话,可能再次点击job名称的这里展示的有问题。

from hangfire.httpjob.

daz-codersoft avatar daz-codersoft commented on June 21, 2024

Hello. I am loving this project you have created! But I do have a problem in that I can't seem to set the queue for a job. I enter a queue name (which already exists), but once I submit the job, and then view it, it has gone to the "default" queue. This happens both when creating a new job, or editing an existing one. I only speak English but I suspect that is what this ticket is about? I'm using Hangfire.HttpJob 3.8.1. I have confirmed that the jobs are also added to the "default" queue when the job fires (and so my job never runs as I don't have a "default" queue).

Thank you.

from hangfire.httpjob.

daz-codersoft avatar daz-codersoft commented on June 21, 2024

A bit more information...it seems that if I set the DefaultBackgroundJobQueueName and DefaultRecurringQueueName in the call to UseHangfireHttpJob, then it will allow me to change the queue. ie:

.UseHangfireHttpJob(new HangfireHttpJobOptions
{
    MailOption = hangfireConfig.EmailSettings,
    DefaultBackGroundJobQueueName = hangfireConfig.QueueName,
    DefaultRecurringQueueName = hangfireConfig.QueueName,
});

from hangfire.httpjob.

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.