• Alex Kalderimis's avatar
    Add columns and indices on web hooks · b9aa07da
    Alex Kalderimis authored
    This adds three new columns on web-hooks: The two columns are
    
    - recent_failures: a counter of recent 4xx level failures
    - backoff_count: a counter of times we have backed-off
    - disabled_until: a timestamp for when we can next use the hook
    
    One new index is added, to aid finding enabled web-hooks,
    on `(project_id, recent_failures)`, which is used
    when selecting active project hooks.
    b9aa07da
20210429181325 64 Bytes