Giter VIP home page Giter VIP logo

hangfireio / hangfire Goto Github PK

View Code? Open in Web Editor NEW
9.0K 314.0 1.7K 37.03 MB

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required

Home Page: https://www.hangfire.io

License: Other

PowerShell 0.20% C# 92.34% CSS 0.94% JavaScript 0.77% Batchfile 0.01% HTML 3.79% TSQL 1.94% Shell 0.02%
dotnet dotnet-core background-jobs background-thread background-worker scheduled-jobs hangfire

hangfire's Introduction

Hangfire

Official Site Latest version Downloads License LGPLv3 Coverity Scan

Build Status

  main dev
AppVeyor Windows Build Status Windows Build Status

Overview

Incredibly easy way to perform fire-and-forget, delayed and recurring jobs in .NET applications. CPU and I/O intensive, long-running and short-running jobs are supported. No Windows Service / Task Scheduler required. Backed by Redis, SQL Server, SQL Azure and MSMQ.

Hangfire provides a unified programming model to handle background tasks in a reliable way and run them on shared hosting, dedicated hosting or in cloud. You can start with a simple setup and grow computational power for background jobs with time for these scenarios:

  • mass notifications/newsletters
  • batch import from xml, csv or json
  • creation of archives
  • firing off web hooks
  • deleting users
  • building different graphs
  • image/video processing
  • purging temporary files
  • recurring automated reports
  • database maintenance
  • …and so on

Hangfire is a .NET alternative to Resque, Sidekiq, delayed_job, Celery.

Hangfire Dashboard

Installation

Hangfire is available as a NuGet package. You can install it using the NuGet Package Console window:

PM> Install-Package Hangfire

After installation, update your existing OWIN Startup file with the following lines of code. If you do not have this class in your project or don't know what is it, please read the Quick start guide to learn about how to install Hangfire.

public void Configuration(IAppBuilder app)
{
    GlobalConfiguration.Configuration.UseSqlServerStorage("<connection string or its name>");
    
    app.UseHangfireServer();
    app.UseHangfireDashboard();
}

Usage

This is an incomplete list of features; to see all of them, check the official site and the documentation.

Fire-and-forget tasks

Dedicated worker pool threads execute queued background jobs as soon as possible, shortening your request's processing time.

BackgroundJob.Enqueue(() => Console.WriteLine("Simple!"));

Delayed tasks

Scheduled background jobs are executed only after a given amount of time.

BackgroundJob.Schedule(() => Console.WriteLine("Reliable!"), TimeSpan.FromDays(7));

Recurring tasks

Recurring jobs have never been simpler; just call the following method to perform any kind of recurring task using the CRON expressions.

RecurringJob.AddOrUpdate(() => Console.WriteLine("Transparent!"), Cron.Daily);

Continuations

Continuations allow you to define complex workflows by chaining multiple background jobs together.

var id = BackgroundJob.Enqueue(() => Console.WriteLine("Hello, "));
BackgroundJob.ContinueWith(id, () => Console.WriteLine("world!"));

Process background tasks inside a web application…

You can process background tasks in any OWIN-compatible application framework, including ASP.NET MVC, ASP.NET Web API, FubuMvc, Nancy, etc. Forget about AppDomain unloads, Web Garden & Web Farm issues – Hangfire is reliable for web applications from scratch, even on shared hosting.

app.UseHangfireServer();

… or anywhere else

In console applications, Windows Service, Azure Worker Role, etc.

using (new BackgroundJobServer())
{
    Console.WriteLine("Hangfire Server started. Press ENTER to exit...");
    Console.ReadLine();
}

Questions? Problems?

Open-source projects develop more smoothly when discussions are public.

If you have any questions, problems related to Hangfire usage or if you want to discuss new features, please visit the discussion forum. You can sign in there using your existing Google or GitHub account, so it's very simple to start using it.

If you've discovered a bug, please report it to the Hangfire GitHub Issues. Detailed reports with stack traces, actual and expected behaviours are welcome.

Related Projects

Please see the Extensions page on the official site.

Building the sources

Prerequisites:

  • Razor Generator: Required if you intend to edit the cshtml files.
  • Install the MSMQ service (Microsoft Message Queue Server), if not already installed.

Then, create an environment variable with Variable name Hangfire_SqlServer_ConnectionStringTemplate and put your connection string in the Variable value field. Example:

  • Variable name: Hangfire_SqlServer_ConnectionStringTemplate
  • Variable value: Data Source=.\sqlexpress;Initial Catalog=Hangfire.SqlServer.Tests;Integrated Security=True;

To build a solution and get assembly files, just run the following command. All build artifacts, including *.pdb files, will be placed into the build folder. Before proposing a pull request, please use this command to ensure everything is ok. Btw, you can execute this command from the Package Manager Console window.

build

To build NuGet packages as well as an archive file, use the pack command as shown below. You can find the result files in the build folder.

build pack

To see the full list of available commands, pass the -docs switch:

build -docs

Hangfire uses psake build automation tool. All psake tasks and functions defined in psake-build.ps1 (for this project) and psake-common.ps1 (for other Hangfire projects) files. Thanks to the psake project, they are very simple to use and modify!

Razor templates are compiled upon save with the Razor Generator Visual Studio extension. You will need this installed if you want to modify the Dashboard UI.

Reporting security issues

In order to give the community time to respond and upgrade we strongly urge you report all security issues privately. Please email us at [email protected] with details and we will respond ASAP. Security issues always take precedence over bug fixes and feature work. We can and do mark releases as "urgent" if they contain serious security fixes.

License

Copyright © 2013-2024 Hangfire OÜ.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Legal

By submitting a Pull Request, you disavow any rights or claims to any changes submitted to the Hangfire project and assign the copyright of those changes to Hangfire OÜ.

If you cannot or do not want to reassign those rights (your employment contract for your employer may not allow this), you should not submit a PR. Open an issue and someone else can do the work.

This is a legal way of saying "If you submit a PR to us, that code becomes ours". 99.9% of the time that's what you intend anyways; we hope it doesn't scare you away from contributing.

hangfire's People

Contributors

0xced avatar aidmsu avatar augustoproiete avatar chrischu avatar crablin avatar danillewin avatar dennyferra avatar dlongest avatar fpellet avatar githubpang avatar hserkanyilmaz avatar karl-sjogren avatar kendaleiv avatar liakamp avatar maleet avatar odinserj avatar penenkel avatar pieceofsummer avatar schulz3000 avatar sergeyzwezdin avatar sgrassie avatar sgwill avatar teodimache avatar tom-kelly avatar tomaszek92 avatar travisblakeney avatar tristal avatar triwire avatar twinmind avatar yngndrw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hangfire's Issues

Processing page generates System.ArgumentNullException

[ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10725754
   System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) +156
   System.Int64.Parse(String s) +23
   HangFire.JobHelper.FromStringTimestamp(String value) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire\JobHelper.cs:63
   HangFire.Web.JobStorage.<ProcessingJobs>b__6(List`1 job, List`1 state) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Storage\JobStorage.cs:55
   HangFire.Web.<>c__DisplayClass3b`1.<GetJobsWithProperties>b__39(<>f__AnonymousType0`3 x) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Storage\JobStorage.cs:421
   System.Linq.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) +36
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +159
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +469
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +59
   HangFire.Web.JobStorage.GetJobsWithProperties(IRedisClient redis, IEnumerable`1 jobIds, String[] properties, String[] stateProperties, Func`3 selector) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Storage\JobStorage.cs:414
   HangFire.Web.JobStorage.ProcessingJobs() in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Storage\JobStorage.cs:51
   HangFire.Web.Pages.ProcessingJobsPage.Execute() in c:\Users\odinserj\Documents\Projects\HangFire\pages\ProcessingJobsPage.cshtml:6
   HangFire.Web.RazorPage.TransformText(String innerContent) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Handlers\RazorPage.cs:24
   HangFire.Web.RazorPage.ProcessRequest() in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Handlers\RazorPage.cs:17
   HangFire.Web.GenericHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) in c:\Users\odinserj\Documents\Projects\HangFire\HangFire.Web\Handlers\GenericHandler.cs:24
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Turn off internal RedisClient logging, use own one

Internal RedisClient logging logs all it's exceptions. It is nice, but it logs even failed transactions with the Error level. However, HangFire know that some transaction can fail, so, that is not an error and it can confuse users with the logging turned on.

We should turn of the internal logging and handle (and log) Redis exceptions manually.

Apply the Failed state when state filters/handlers cause an exception

As a user, I want to know about all exceptions that occurred during any state transitions. This exceptions may be related to custom filters/handlers that I've added.

To do this, state machine should move the job to the Failed state if it encountered an exception. To minimize risks of getting another exception, it should turn off custom filters while changing the state.

Add "Retry all" button to the Failed Jobs page

As an administrator, I want to retry all my failed jobs at once. To do this I go to the Failed jobs page and click the "Retry all" button in the top toolbar. When the operation completes, I want to know, how many tasks were re-queued, and how many tasks were not re-queued.

All failed jobs should proceed to the Enqueued state only from Failed state, because someone can change job's state during retry task execution.

Using method call expressions on client-side

There is even simpler way to perform tasks asynchronously. Current method is based on used special class (based on BackgroundJob), its special method (Perform) and special manner of arguments specification (using properties). This method provides the full information about what server should do to perform a task.

As I say, there is simpler way to do it, and it is based on expression trees. Server needs to know the exact method to call, including its type and what arguments to provide to it. Expression trees can provide this information. Look at this:

// Calling instance methods
Perform.Async<MyServiceClass>(x => x.SendEmail("Greetings to you!", userId: 5));

// Calling static methods
Perform.Async(() => Console.WriteLine("Hello, world!"));

Signatures of the Perform class methods will look like these:

// For calling instance methods
public static string Perform<T>(Expression<Action<T>> methodCall);

// For calling static methods
public static string Perform(Expression<Action> methodCall);

The body of the methodCall argument expression will contain the instance of the MethodCallExpression class. We can obtain the name and the type of the method. And we can compile expressions that act as method call parameters to evaluate their values. On the server side we could obtain them, try to identify the exact method match and call it via reflection.

Pros.

  • Blazing fast start to use the library. You don't even need to define jobs, because you can take your existing methods.
  • Clears the way how this library works – it just perform methods asynchronously, but with different features and guarantees.
  • There is no need to guess job argument names on the client side.

Cons.

  • Possible reduced performance on Client. Expression trees compilation is an expensive operation. However, we could cache the compiled versions.
  • Possible reduced performance on Server. Reflection-based method invocation performs slower than raw method invocation.

Simplicity wins there, especially if performance penalty will be low.

Friendly error page on RedisException

Redis connectivity errors are typical for new installations. HangFire Monitor should display friendly error page, may be with some instructions to not to confuse new users.

Improve scheduled jobs performance

Scheduled jobs are fetched one by one now. Despite of Redis implementation executes much better than SQL Server one, this task can be performed better.
To do this, schedule poller should take top N jobs that need to be enqueued. To prevent unnecessary locks in a multi-server environment, we could shuffle this list. So each server will take random job to enqueue.

HangFire Monitor authorization

Default HangFire installation allows anyone access to Monitor Web UI. Although everyone can change http handler registration to meet this requirement, it is not good to provide security hole with the default setup.

Elmah library authors made deep investigation about this topic, and we could use their implementation.

Default setup should:

  • Provide support for allow/deny access for remote users. Default: deny.
  • Allow to specify users/roles that are allowed or denied using standard ASP.NET authorization api. Default: allow anyone.

Job fetching implementation is terrible

To provide support for multiple queues, I've added some classes (PriotitizedJobFetcher, PrefetchJobFetcher). But I don't know why I wrote them. There should be simple algorithm:

  1. Blocking pop from queue 1 with short timeout.
  2. Non-blocking pop from queue 2.

...
N. Non-blocking pop from queue N.

Moreover, each worker has its own connection. Why not to use them instead of centralized fetcher?

SqlServerStorage ctor should accept connection string name

Currently it takes only full connection string. As a user, I have either to learn how to get a connection string from configuration file (I really forget what class name has configuration manager each time I need it), or simply paste the full connection string as an argument, that will lead to maintenance error.

RavenDB Support

Hi,
this is awesome library, thanks for it.

is there a possibility to use ravendb as back end storage instead of Redis ?

thanks in advanced.

Server does not listen to any queue when using the default constructor

The documentation states that the default queue will be listened when we creating the instance of the BackgroundJobServer class using its default constructor. However, the system is acting now in a different way.

  1. Instantiate the BackgroundJobServer class with the default constructor:
var server = new BackgroundJobServer();
server.Start();
  1. The server does not listen to any queue:
    empty_queues

hangfire-status.js

This script provide (with the server support) target application with the functionality to poll a specified job[s] for their status[es].

API should look like this:

HangFire.Poll('abracadabra-job-id', function (jobId, state) {
    if (state === 'succeeded') console.log('Job succeeded!');
});

Prepare NuGet packages

This release will provide the following NuGet packages:

  • HangFire.Core – Client, Server, Storage abstractions.
  • HangFire.Redis – Redis storage implementation.
  • HangFire.SqlServer – SQL Server storage implementation.
  • HangFire.AspNet – Monitor, ASP.NET HangFire Server.
  • HangFire – easy-to-setup package. Contain dependencies to HangFire.AspNet, HangFire.SqlServer and HangFire.Core. Also contain web.config transformation and HangFireConfig.cs class.

Extend job retry functionality

Provide developers with the following abilities, that may be applied to a specific job.

  • Specify max attempts count, including a ban on a retry
  • Override retry delays
  • Something else?

This features can be implemented with custom attributes (including the existing one) or with methods that will be called via reflection.

Filters and their orders

The order in which filters are applied to some events depends on the order they were added to the GlobalFilters.Filters collection. It is wrong behavior. There should be a possibility for filter developers to set the needed order for their filters, removing this responsibility from filter users.

Validate arguments in public classes

Check all public classes. Pay special attention to the following cases:

  • Queue names exists as a key part in Redis. So, we should impose some restrictions on them. Perhaps, alphanumeric with dash and underscores. Consider about lowercasing them or making them case insensitive.
  • Server names are used as a key part in Redis too. Same restrictions as for queue names.

Shorten the stack traces of exceptions

As a HangFire user, I want to see only my classes in the stack trace. So, instead of:

System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.InvalidOperationException: Выдано исключение типа "System.InvalidOperationException". ---> System.IO.FileLoadException: Не удалось загрузить указанный файл.
   --- Конец трассировки внутреннего стека исключений ---
   в ConsoleSample.Services.Error() в c:\Users\odinserj\Documents\Projects\HangFire\samples\ConsoleSample\Services.cs:строка 26
   --- Конец трассировки внутреннего стека исключений ---
   в HangFire.Server.Performing.JobAsMethodPerformStrategy.Perform() в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobAsMethodPerformStrategy.cs:строка 85
   в HangFire.Server.Performing.JobPerformer.<>c__DisplayClass9.<PerformJobWithFilters>b__6() в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobPerformer.cs:строка 77
   в HangFire.Server.Performing.JobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobPerformer.cs:строка 114
   в HangFire.Server.Performing.JobPerformer.<>c__DisplayClass9.<>c__DisplayClassb.<PerformJobWithFilters>b__8() в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobPerformer.cs:строка 82
   в HangFire.Server.Performing.JobPerformer.PerformJobWithFilters(PerformContext context, IJobPerformStrategy strategy, IEnumerable`1 filters) в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobPerformer.cs:строка 84
   в HangFire.Server.Performing.JobPerformer.PerformJob(PerformContext context, IJobPerformStrategy strategy) в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Performing\JobPerformer.cs:строка 64
   в HangFire.Server.Worker.PerformJob(IStorageConnection connection, JobPayload payload) в c:\Users\odinserj\Documents\Projects\HangFire\src\HangFire.Core\Server\Worker.cs:строка 182

I want:

System.InvalidOperationException: Выдано исключение типа "System.InvalidOperationException". ---> System.IO.FileLoadException: Не удалось загрузить указанный файл.
   --- Конец трассировки внутреннего стека исключений ---
   в ConsoleSample.Services.Error() в c:\Users\odinserj\Documents\Projects\HangFire\samples\ConsoleSample\Services.cs:строка 26

Wrong "Processing" counter after unexpected server shutdown

When a server restarts after unexpected shutdown, it re-queues it's processing jobs through the RPOPLPUSH command. However, it does not change the state of the job to the Enqueued, and does not remove it from the hangfire:processing set. So, this can lead to some errors.

It should use standard JobState.Apply method to change the job's state after enqueuing.

Provide documentation

Hi,
i am so anxious to use HangFire correctly, but the Docs have so many important and interesting topics that, need to be done so that one can have a full picture of what he is doing, specially for normal developers like me :)

Increase the default worker count

Currently the default number of workers determined by Environment.ProcessorCount. This number is good for CPU-intensive work. But when jobs are mostly I/O-intensive, workers would spend much time waiting for completion.
Of course, it would be better to present an async feature that will use IOCP-threads to complete the job, but now it is better just to increase the number of workers.

Use SQL Server Service Broker when possible to get new jobs

SQL Server queue fetching implementation currently uses simple polling technique to get new jobs. This works, but high poll intervals increase the latency of job performance, and low polling intervals increases DB stress.

Service broker could help there, because we can (or if we can) subscribe to receive notifications on new jobs using the SqlDependency class. As I know, it could be used even in the Express edition of the SQL Server.

This task requires more investigation. Moreover, we need to decide how to support it (if it possible) – turn on service broker by automatically or let a user to do this manually. So, we need either to know about negative impacts to SQL Server when this feature is enabled.

Remove the `Perform` class

It was made obsolete in 0.6. And there is need to prohibit users to add jobs in obsolete format.
Only old Client API will be removed. Your old jobs will be processed.

Some history statistic counters do not expire

I have no access to code now, but it is true. You need to check what counters are set within the StatisticsHistoryFiltrrAttribute class and look for those counters, that are not expiring now. Data storage should be always as clean as possible.

Consider about ServiceStack.* dependencies

I like them, they are awesome, but not as stable as I want. Recent ServiceStack 4.0 release can contain breaking changes. Moreover, it was splitter into signed and unsigned assemblies. They are good in end projects, but I'm in doubt to use them as dependencies.

In 3.9.* there were some breaking changes, that lead to compile-time and run-time errors. I do not want to rush for new versions of dependencies. I want more stable one, and I want signed HangFire assembly. Perhaps, we need to replace them with the following libraries:

ServiceStack.Redis dependency is now used only in HangFire.Redis assembly. It is not hard to support different versions of ServiceStack. Or we could use BookSleeve instead.

Place interrupted job back to its queue if possible

When a worker thread is being interrupted by the ThreadAbortException during the job performance, the job should be placed back to its queue. Otherwise its performance will be delayed for the JobTimeout value after the application restart.

Use the <pre> element for job arguments in tables

They are using the "code" element now. When the total arguments length is a fairy large, the whole table is being stretched outside the page.
You can consider cutting them to a certain length - an administrator can always see them in the Job Details page.

Pages using this element:

  • Enqueued page
  • Succeeded page
  • Processing page
  • Scheduled page
  • Queues page

SQL Server-based job storage implementation

SQL Server is a primary data storage for ASP.NET applications. And it is familiar for the most of developers. This implementation will lower barriers to entry for new users, because they do not need to use additional infrastructure for their projects.
SQL Server-based storage should meet all Redis storage requirements, such as installation simplicity, reliability, extensibility and transparency. What remains? Performance. RDBMS are complex, especially when comparing to Redis. And this solution will have performance degradation. But for simple cases it should be enough. When someone requires better job throughput, it could use Redis storage instead.
This work requires storage abstraction first. There are a lot of differences between SQL Server and Redis server. There is need to do full refactoring of a system.

A NullReferenceException is thrown when trying to create a job using the Old API

Here is the call stack

   в HangFire.Common.States.EnqueuedState.GetQueue(JobMethod method) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\States\EnqueuedState.cs:строка 65
   в HangFire.Common.States.EnqueuedState.GetProperties(JobMethod data) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\States\EnqueuedState.cs:строка 39
   в HangFire.States.StateMachine.AppendHistory(IRedisTransaction transaction, StateContext context, JobState state, Boolean appendToJob) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\States\StateMachine.cs:строка 268
   в HangFire.States.StateMachine.ApplyState(StateApplyingContext context, String oldState, JobState chosenState, IEnumerable`1 stateChangedFilters) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\States\StateMachine.cs:строка 242
   в HangFire.States.StateMachine.CreateInState(String jobId, JobMethod method, IDictionary`2 parameters, JobState state) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\States\StateMachine.cs:строка 116
   в HangFire.Client.CreateContext.CreateJob() в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\Client\CreateContext.cs:строка 136
   в HangFire.Client.JobCreator.<>c__DisplayClass9.<CreateWithFilters>b__6() в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\Client\JobCreator.cs:строка 83
   в HangFire.Client.JobCreator.CreateWithFilters(CreateContext context, IEnumerable`1 filters) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\Client\JobCreator.cs:строка 90
   в HangFire.Client.JobCreator.CreateJob(CreateContext context) в c:\Users\odinserj\Documents\Projects\HangFire\HangFire\Client\JobCreator.cs:строка 57

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.