Skip to content

Instantly share code, notes, and snippets.

#######################################################################################################################
# CONSUMERS_WAIT_FOR_MAX_MESSAGES - use this variable to configure how consumers process messages from the message #
# queue #
# Magento Version: 2.2.0 and later #
# Default value: false #
# Possible values: #
# false — consumers process available messages in the queue, close the TCP connection, and terminate.#
# Consumers do not wait for additional messages to enter the queue, even if the number of #
# processed messages is less than the `
#######################################################################################################################
# CONSUMERS_WAIT_FOR_MAX_MESSAGES - use this variable to configure how consumers process messages from the message #
# queue #
# Magento Version: 2.2.0 and later #
# Default value: false #
# Possible values: #
# false — consumers process available messages in the queue, close the TCP connection, and terminate.#
# Consumers do not wait for additional messages to enter the queue, even if the number of #
# processed messages is less than the `
@meker12
meker12 / gist:2742e5553f22d4089234694cbf11d0f3
Last active August 22, 2019 20:24
Small edits to customer-facing message string for the Start MessageQueue consumer
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\MessageQueue\Console;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
#Electron
Process: Electron [10707]
Path: /Applications/Deconst.app/Contents/MacOS/Electron
Identifier: com.deconst.client
Version: 0.0.1
Code Type: X86-64 (Native)
Parent Process: launchd [741]
Responsible: Electron [10707]
User ID: 870437717
@meker12
meker12 / gist:98a90bebf22e937048e9
Created March 12, 2015 02:18
Sphinxsidebar header and sidebarheaderwrapper versus DRC sidebar.html
{%- macro sidebar() %}
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
{%- block sidebarlogo %}
{%- if logo %}
<p class="brand"><a href="{{ pathto(master_doc) }}">
<img class="brand" src="{{ pathto('_static/' + brand, 1) }}" alt="Logo"/>
</a></p>
{%- endif %}
<response status="400" xmlns="http://wadl.dev.java.net/2009/02">
<doc title="Bad Request" xml:lang="EN">Invalid input JSON or service not deployed.</doc>
</response>
<response status="404" xmlns="http://wadl.dev.java.net/2009/02">
<doc title="Not Found" xml:lang="EN">Service not found.</doc>
</response>
<!-- <response status="400" xmlns="http://wadl.dev.java.net/2009/02">
<doc title="Bad Request" xml:lang="EN">Missing or empty domains list.</doc>
</response>
<response status="400" xmlns="http://wadl.dev.java.net/2009/02">
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management