public WorkerQueue(CompositeLogger logger, IHandlerPipeline pipeline, BusSettings settings, CancellationToken cancellationToken) { _logger = logger; _pipeline = pipeline; _settings = settings; _cancellationToken = cancellationToken; foreach (var worker in _settings.Workers.AllWorkers) { AddQueue(worker.Name, worker.Parallelization); } DelayedJobs = InMemoryDelayedJobProcessor.ForQueue(this); }
public in_memory_delayed_jobs() { theDelayedJobs = InMemoryDelayedJobProcessor.ForQueue(this); }