<commit_before>## Redis Repeater

Constantly transfer all Redis items from one queue to the same queue on another machine.
Great if you want to have multiple Resque machines, but only want the jobs to run on one of them.  With Resque Repeater, you temporarily stage them on local machines so your application doesn't need to make calls across the world.

### Quick Start

1.  Set up configuration files as below
2.  `gem install redis-repeater`
3.  `redis-repeater /path/to/config/directory`

### Configuration

**config/queues.yml** - Set queue names to transfer with timeouts (0 if none)

    queue:john: 4
    some_other_queue: 5
    listings: 0  # will refresh as soon as it finishes transferring

**config/config.yml** - What machines?

    origin:
        host: localhost
        port: 6379

    destination:
        host: some.production_box.example.com
        port: 6380

    log: /path/to/repeater.log

### Resque Queues

If you specify a queue named `resque:queues`, all of your resque queues will be repeated

### Maintaingin Counts

In config.yml, if you include `counter:true`, counts will be maintained for the number of repeated items in queues named: `redis-repeater:#{queue_name}:count`

### Dependencies

* Event Machine
* Redis

### Author
<commit_msg>README typo - if only i could write unit tests for my READMEs<commit_after>## Redis Repeater

Constantly transfer all Redis items from one queue to the same queue on another machine.
Great if you want to have multiple Resque machines, but only want the jobs to run on one of them.  With Resque Repeater, you temporarily stage them on local machines so your application doesn't need to make calls across the world.

### Quick Start

1.  Set up configuration files as below
2.  `gem install redis-repeater`
3.  `redis-repeater /path/to/config/directory`

### Configuration

**config/queues.yml** - Set queue names to transfer with timeouts (0 if none)

    queue:john: 4
    some_other_queue: 5
    listings: 0  # will refresh as soon as it finishes transferring

**config/config.yml** - What machines?

    origin:
        host: localhost
        port: 6379

    destination:
        host: some.production_box.example.com
        port: 6380

    log: /path/to/repeater.log

### Resque Queues

If you specify a queue named `resque:queues`, all of your resque queues will be repeated

### Maintaining Counts

In config.yml, if you include `counter:true`, counts will be maintained for the number of repeated items in queues named: `redis-repeater:#{queue_name}:count`

### Dependencies

* Event Machine
* Redis

### Author

{'fraction_non_alphanumeric': 0.07677469135802469, 'fraction_numerical': 0.011574074074074073, 'mean_word_length': 3.581272084805654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1129441', 'n_tokens_mistral': 792, 'n_tokens_neox': 745, 'n_words': 331}