Checkrabbitmemory
snoop.data.management.commands.checkrabbitmemory
#
Debug command to check rabbitMQ memory for snoop.
Prints result to stdout; script always returns 0.
Classes#
Command
#
Methods#
handle(self, *args, **options)
#
Debug command to check rabbitMQ memory for snoop.
Source code in snoop/data/management/commands/checkrabbitmemory.py
def handle(self, *args, **options):
"""Debug command to check rabbitMQ memory for snoop."""
logging_for_management_command()
print('rabbitmq memory full: ', tasks._is_rabbitmq_memory_full())