<commit_before># Delayed::Plugins::Mutex

`delayed_job` plugin for mutual exclusion.

Define, how many jobs of a certain kind can be enqueued or run at the same time.

## Installation

Add this line to your application's Gemfile:

    gem 'delayed-plugins-mutex', git: 'https://github.com/jan/delayed-plugins-mutex'

## Usage

Register the plugin like so:

    require 'delayed-plugins-mutex'
    Delayed::Worker.plugins << Delayed::Plugins::Mutex::Plugin

In a Rails project, this can be done in `config/initializers`.

## Contributing
<commit_msg>Tell user to initialise plugin<commit_after># Delayed::Plugins::Mutex

`delayed_job` plugin for mutual exclusion.

Define, how many jobs of a certain kind can be enqueued or run at the same time.

## Installation

Add this line to your application's Gemfile:

    gem 'delayed-plugins-mutex', git: 'https://github.com/jan/delayed-plugins-mutex'

## Usage

Register the plugin like so:

    require 'delayed-plugins-mutex'
    Delayed::Worker.plugins << Delayed::Plugins::Mutex::Plugin
    Delayed::Plugins::Mutex::Plugin.new # Not sure, why this is needed

In a Rails project, this can be done in `config/initializers`.

## Contributing

{'fraction_non_alphanumeric': 0.10539629005059022, 'fraction_numerical': 0.0, 'mean_word_length': 4.49537037037037, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5054789', 'n_tokens_mistral': 374, 'n_tokens_neox': 359, 'n_words': 125}