浏览代码

Some doc files

Marc 13 年之前
父节点
当前提交
6b4ae58058
共有 3 个文件被更改,包括 46 次插入0 次删除
  1. 2 0
      @todo
  2. 14 0
      composer.json
  3. 30 0
      config.example.yml

+ 2 - 0
@todo

@@ -0,0 +1,2 @@
+* Set parameters on config.yml instead using gearman.yml
+* Testings

+ 14 - 0
composer.json

@@ -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 - 0
config.example.yml

@@ -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