-
Notifications
You must be signed in to change notification settings - Fork 50
/
resque.yml
74 lines (68 loc) · 2.48 KB
/
resque.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
#
# php-resque configuration file
#
# This is the default configuration for your php-resque application
# Most of these settings can be overriden through their corresponding
# option flag when running a command
#
# //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
include: examples/autoload.php # A file to include on each command
# # The legacy way, which only supports a subset of Redis options
# redis:
# scheme: tcp # The connection scheme
# host: 127.0.0.1 # The hostname to connect to
# port: 6379 # The port to connect to
# namespace: resque # The key prefix in Redis
# rw_timeout: 60 # Redis read/write timeout
# phpiredis: false # Should use phpiredis php extension (must be installed)
# # the predis native way (sentinel example)
# # "config" is the first parameter to Predis\Client
# # "options" is the second parameter to Predis\Client
# predis:
# config:
# - "tcp://10.0.0.1:12345"
# - "tcp://10.0.0.2:12345"
# - "tcp://10.0.0.3:12345"
# options:
# service: "some_redis_cluster_name"
# replication: "sentinel"
# parameters:
# password: "some_secret_password"
# database: 12
# default:
# expiry_time: 604800 # Default expiry time of Redis keys
# verbose: 1 # quiet=0, normal=1, verbose=2, very_verbose=3, debug=4
# jobs:
# queue: default # Default queue to add a job to
# delay: false # Default delay to add to jobs false=no delay
# workers:
# queue: "*" # Default queue to watch, *=all queues
# blocking: true # Use Redis blocking
# interval: 10 # Worker interval (seconds)
# timeout: 60 # Job timeout (seconds)
# memory: 128 # Max worker memory
# log:
# console: true # Output log to console
# off: true # Don't log
# stream: output.log # Log to file
# rotate: 5:output.log # Log to file and rotate files
# redis: 127.0.0.1:6379/resque # Store in Redis
# mongodb: 127.0.0.1:27017/dbname/resque # Store in MongoDB
# couchdb: 127.0.0.1:27017/dbname # Store in CouchDB
# amqp: 127.0.0.1:5763/name # Send to AMQP
# socket: udp://127.0.0.1:80 # Send to socket
# syslog: myfacility/local6 # Send to Syslog
# errorlog: 0 # Send to error_log
# cube: udp://localhost:5000 # Send to cube server
# socket:
# listen:
# host: 0.0.0.0
# port: 7370
# timeout: 10
# retry: 10
# connect:
# host: 127.0.0.1
# port: 7370
# timeout: 10
# json: false