Skip to content

Commit

Permalink
Some doc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc committed Nov 22, 2011
1 parent 3f73aaa commit 6b4ae58
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Set parameters on config.yml instead using gearman.yml
* Testings
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Ulabox/gearman-bundle",
"description": "Adds gearman support",
"keywords": ["gearman"],
"type": "symfony-bundle",
"license": "Apache",
"authors": [
{
"name": "Marc Morera",
"email": "marc@ulabox.com"
}
],
"target-dir": "Ulabox/GearmanBundle"
}
30 changes: 30 additions & 0 deletions config.example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

# Bundles gearman will parse searching annotations
bundles:
# Name of bundle
GearmanBundle:
# Namespace to be found
namespace: Ulabox\GearmanBundle
# Bundle search can be enabled or disabled
active: true

# default values
defaults:
# default method.
# do
# doBackground
# doHigh
# doHighBackground
# doLow
# doLowBackground
method: do

# Server list by default workers and clients will connect
# Server name must contain port
# If annotations defined, will be overwritten
servers:
- 127.0.0.1:4730

# Default number of executions before job dies.
# If annotations defined, will be overwritten
iter: 150

0 comments on commit 6b4ae58

Please sign in to comment.