Skip to content

Instantly share code, notes, and snippets.

@jverdeyen
Last active February 14, 2018 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jverdeyen/0cea27b910dca1dff57ea757a856fe78 to your computer and use it in GitHub Desktop.
Save jverdeyen/0cea27b910dca1dff57ea757a856fe78 to your computer and use it in GitHub Desktop.
Enqueue Symfony Console commands [config.yml]
parameters:
persistent_cache_dir: /tmp
app_name: ProjectX
enqueue:
transport:
default: 'fs'
fs:
dsn: "file://%persistent_cache_dir%/"
path: "./enqueue" // The directory where all queue\topic files remain.
pre_fetch_count: 1 // Defines how many messages to fetch from the file.
chmod: 600 // Defines a mode the files are created with
polling_interval: 100 // How often query for new messages, default 100 (milliseconds)
client:
app_name: '%app_name%_%kernel.environment%'
default_processor_queue: 'default'
traceable_producer: true
async_events: false
job: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment