<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import , unicode_literals <EOL> import eventlet <EOL> from kombu import Connection <EOL> eventlet . monkey_patch ( ) <EOL> def send_many ( n ) : <EOL> with Connection ( '<STR_LIT>' ) as connection : <EOL> with connection . SimpleQueue ( '<STR_LIT>' ) as queue : <EOL> def send_message ( i ) : <EOL> queue . put ( { '<STR_LIT:hello>' : '<STR_LIT>' % ( i , ) } ) <EOL> pool = eventlet . GreenPool ( <NUM_LIT:10> ) <EOL> for i in range ( n ) : <EOL> pool . spawn ( send_message , i ) <EOL> pool . waitall ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> send_many ( <NUM_LIT:10> ) </s>
