-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only update the record when fields have changed
For the token and metadata program add additional check to only update the record if the values of the fields have changed and the slot is larger so the slot column only changes when fields are updated. There are accounts that are referencd in instructions which trigger account update but they aren't changed. Every time update statement occurs indexs are rewritten causing locks. This noop allows insert spam but skips updating the record and thus no triggering of index updates.
- Loading branch information
Showing
4 changed files
with
576 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.