Projet

Général

Profil

Révision c18c1863

IDc18c1863cfac0b80fc3fa51759d3dfeb05774d54
Parent c4220bde
Enfant d60ad397

Ajouté par Vladimir Ryazanov il y a plus de 10 ans

relatively more reasonable default values for rabbitmq_queue_memory

Voir les différences:

plugins/rabbitmq/rabbitmq_queue_memory
35 35
		grep -v 'done\.$' | sed -e 's/[.=-]/_/g' )
36 36
 
37 37
if [ "$1" = "config" ]; then
38
        QUEUE_WARN=${queue_warn:-10000}
39
        QUEUE_CRIT=${queue_crit:-20000}
38
        QUEUE_WARN=${queue_warn:-$[100 * 1024 * 1024]}
39
        QUEUE_CRIT=${queue_crit:-$[200 * 1024 * 1024]}
40 40

  
41 41
	# The host name this plugin is for. (Can be overridden to have
42 42
	# one machine answer for several)

Formats disponibles : Unified diff