You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sync_worker.rb
    path of file: ./repos/gitlabhq/app/workers/projects/forks
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Projects
  module Forks
    class SyncWorker
      include ApplicationWorker

      data_consis
    
      def perform(project_id, user_id, ref)
        project = Project.find_by_id(project_id)
        user = User.find_by_id(user_id)
        return unless project && user

        ::Projects::Forks::SyncService.new(project, user, ref).execute
      end