mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-23 22:08:11 -05:00
dd96155bcefe1459eba59272fe06e60255760105
Doing a SELECT on the data table to determine which keys already exist was adding too much extra load to the Account master. This attempts to alleviate that by optimistically trying an UPDATE and if no rows were actually changed by the UPDATE, doing an INSERT instead.
Description
No description provided
Languages
Python
54.4%
JavaScript
26.7%
HTML
11.3%
Less
4.5%
Shell
1%
Other
2%