tkopecek / koji

Forked from koji 7 years ago
Clone

209a235 avoid message re-insertion, extend test mode, schema and docs updates

4 files Authored by mikem 3 years ago, Committed by tkopecek 3 years ago,
    avoid message re-insertion, extend test mode, schema and docs updates
    
    include new table in main schema, since this plugin is part of Koji itself
    
    clean up and expand the docs for this plugin
    
    refactor query_from_db() into handle_db_msgs()
    * fix lock error cases
    * only delete messages from queue if we successfully send them
    * handle test_mode
    
    allow test_mode to exercise db queue via test_mode_fail setting
    
        
file modified
+11 -0
file modified
+51 -31
file modified
+46 -22