Ver Fonte

Updated Readme with new config parameters. Related to #56 and #54

Marc há 11 anos atrás
pai
commit
dfbde0e4da
1 ficheiros alterados com 9 adições e 1 exclusões
  1. 9 1
      README.md

+ 9 - 1
README.md

@@ -130,7 +130,7 @@ Also we must config gearman cache, using doctrine cache.
         # All these values will be used if are not overwritten in Workers or jobs
         defaults:
 
-            # default method related with all jobs
+            # Default method related with all jobs
             # do // deprecated as of pecl/gearman 1.0.0. Use doNormal 
             # doNormal
             # doBackground
@@ -145,6 +145,14 @@ Also we must config gearman cache, using doctrine cache.
             # If empty, 0 is defined by default
             iterations: 150
 
+            # execute callbacks after operations using Kernel events
+            callbacks: true
+
+            # Prefix in all jobs
+            # If empty name will not be modified
+            # Useful for rename jobs in different environments
+            job_prefix: null
+
         # Server list where workers and clients will connect to
         # Each server must contain host and port
         # If annotations defined, will be full overwritten