def mute(type_, proj_name, target_id, user_id): key = mute_rds_key(type_, proj_name, target_id) rds.sadd(key, user_id)
def enqueue(self): rds.sadd(PROJECT_BUILD_QUEUE_RDS_KEY, self.queue_member)