Changeset 1153 for trunk


Ignore:
Timestamp:
01/19/15 15:48:14 (9 years ago)
Author:
sdipsl
Message:
  • r1150 missed this bit. Need to flush messages when something wrong happened. See #242
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r1150 r1153  
    635635      # RabbitMQ message body 
    636636      Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
     637      # To be sure we flush message buffer and clean up behind us before the end of the simulation 
     638      FlushAMQP=TRUE 
    637639      # Fill the rabbitMQ queue 
    638640      IGCM_debug_sendAMQP 
Note: See TracChangeset for help on using the changeset viewer.