diff options
author | Paweł Chmielowski <pawel@process-one.net> | 2022-06-10 15:40:42 +0200 |
---|---|---|
committer | Paweł Chmielowski <pawel@process-one.net> | 2022-06-10 16:25:50 +0200 |
commit | a89b1f332d279da3c134b074a797fda4b6818409 (patch) | |
tree | bee108c2e19b63ef92b5ac8517bbec85543c473f /src/mod_http_api.erl | |
parent | Container: Set a less frequent healthcheck to reduce CPU usage (#3826) (diff) |
Use INSERT ... ON DUPLICATE KEY UPDATE for upsert on mysql
This can be used for all upsert expressions (where REPLACE INTO used
previously were only possible to use for subset of queries), and may
potentially help with deadlocks reported by mysql when we issues multiple
querier for same key in quick succession.
Diffstat (limited to 'src/mod_http_api.erl')
0 files changed, 0 insertions, 0 deletions