class SplitIoClient::SSE::Workers::SplitsWorker

def kill_feature_flag(notification)

def kill_feature_flag(notification)
  return if @feature_flags_repository.get_change_number.to_i > notification.data['changeNumber']
  @config.logger.debug("feature_flags_worker kill #{notification.data['splitName']}, #{notification.data['changeNumber']}")
  @feature_flags_repository.kill(
    notification.data['changeNumber'],
    notification.data['splitName'],
    notification.data['defaultTreatment']
  )
  @synchronizer.fetch_splits(notification.data['changeNumber'])
end