oncall-engine/engine/apps
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
..
alerts Alerting integration use get for receiver key (#2894) 2023-08-29 02:01:45 +00:00
api Address bug when taking a Shift Swap Request and the Slack message is not updated (#2886) 2023-08-28 11:55:17 +02:00
api_for_grafana_incident remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
auth_token Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
base Telegram long polling (#2250) 2023-08-24 09:12:24 +02:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Status to not access grafana headers from mobile request (#2870) 2023-08-23 19:39:02 +00:00
heartbeat Use periodic task for heartbeats (#2723) 2023-08-10 02:25:00 +00:00
integrations Always update last_heartbeat_time async (#2892) 2023-08-29 02:19:28 +00:00
metrics_exporter Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
mobile_app Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Address bug when taking a Shift Swap Request and the Slack message is not updated (#2886) 2023-08-28 11:55:17 +02:00
schedules Update ical export to track primary/overrides calendar using priority (#2871) 2023-08-24 15:36:42 +00:00
slack Address bug when taking a Shift Swap Request and the Slack message is not updated (#2886) 2023-08-28 11:55:17 +02:00
social_auth apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
telegram Telegram long polling (#2250) 2023-08-24 09:12:24 +02:00
twilioapp Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
user_management Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
webhooks Webhooks Public API (#2790) 2023-08-22 14:05:52 -06:00
zvonok Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00