Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent duplicate entries using unique index #128

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 21, 2024

  1. Prevent duplicate entries using unique index

    Addresses #89
    
    Using a generated column to make a hash of cron task uniqueness lets us add a unique index to the table.
    
    Changing the $wpdb->insert() call to use replace() means that an existing record will be updated rather than causing an error.
    
    Need to determine if this is really the right way to define uniqueness.
    
    Potential for improving lookup performance using a generated hash column for args as well as thats more reasonable to add an index for.
    roborourke committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    0b87bd8 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Configuration menu
    Copy the full SHA
    3b8ad66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c12452 View commit details
    Browse the repository at this point in the history