HangfireIO / HangfireIO/Hangfire

Recurring job '?' can not be scheduled due to job load exception.

Open
#595 16 comments 8 reactions 0 assignees View on GitHub
t: question
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Talking about Scalability/Distrubted Systems I think each server might see only its queues.
In my production envrionment I'm running two instances in two servers. Each server actually runs over different queues as below
![image](https://cloud.githubusercontent.com/assets/782854/16095326/7baad4d4-331a-11e6-8e26-8527c07c363d.png)

Server "A" has only libraries needed there and in the other server ("B") only the libraries needed also. When server "B" tries to Schedule a job it throws `JobLoadException` because there's no library into its binary folder. What I suggest is to change few classes to restrict `RecurringJobScheduler` class to watch only the right queues.

The queue is already in the context and could be used to filter recurring-jobs as well.
![image](https://cloud.githubusercontent.com/assets/782854/16095623/d917f100-331b-11e6-9f16-17635d71ab50.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.