mergestat
mergestat copied to clipboard
When enabling a sync schedule from the console we need to use the priority from the repo_sync_types table
Currently if a schedule for a repo sync is enabled from the console a record is inserted into repo_syncs but the priority default is set to 0. The tables default is set to 0 but we should use the value from repo_sync_types.priority