oncall-engine/engine/apps/integrations
Michael Derynck e0e1f4b021
Always update last_heartbeat_time async (#2892)
# What this PR does
If the same heartbeat is requested at a high rate it can create lock
contention when updating the timestamp in the DB. Moving to always run
update in task should free up the connection on the API server faster,
although the task might still see some lock wait time.

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-08-29 02:19:28 +00:00
..
metadata Add alertmanager integration for heartbeat support (#2807) 2023-08-17 13:22:37 +00:00
mixins add more integration tests for integrations api (#2845) 2023-08-21 15:40:29 +02:00
templates Polish amv2 (#2701) 2023-08-01 13:13:58 +08:00
tests Skip amazon_sns integration view test (#2849) 2023-08-21 17:06:31 -03:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
legacy_prefix.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
middlewares.py Add middleware to catch exception for missing integration, reduce spamminess of logs 2022-10-13 17:18:22 -06:00
tasks.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
urls.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
views.py Always update last_heartbeat_time async (#2892) 2023-08-29 02:19:28 +00:00