b54c32a use real time for events

Authored and Committed by tkopecek 4 years ago
    use real time for events
    
    NOW() is time of transaction start. For long transaction, there could be
    race and some other transactions which ended earlier can have newer
    events. clock_timestamp returns real time (changes during transaction),
    so it should be better for this case.
    
    Fixes: https://pagure.io/koji/issue/1747
    
        
file modified
+2 -2