#NEWLINE# def _keepalive_periodic( self ) : #NEWLINE# #INDENT# delay = ( float ( self . keepalive ) / self . size ) #NEWLINE# while 1 : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# with self . get ( ) as c : #NEWLINE# #INDENT# self . _keepalive ( c ) #NEWLINE# #UNINDENT# #UNINDENT# except self . exc_classes : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# gevent . sleep ( delay )