<commit_before>package com.twitter.finagle.netty4

import com.twitter.finagle.server.ServerInfo
import com.twitter.finagle.toggle.Toggle
import io.netty.channel.epoll.Epoll

private[netty4] object nativeEpoll {
  private[this] val underlying: Toggle[Int] =
    Toggles("com.twitter.finagle.netty4.UseNativeEpollV2")

  // evaluated once per VM for consistency between listeners, transporters + worker pool.
  lazy val enabled: Boolean = underlying(ServerInfo().id.hashCode) && Epoll.isAvailable
}<commit_msg>twitter-server: make shadow admin server compatible with native transport<commit_after>package com.twitter.finagle.netty4

import com.twitter.finagle.server.ServerInfo
import com.twitter.finagle.toggle.Toggle
import io.netty.channel.epoll.Epoll

object nativeEpoll {
  private[this] val underlying: Toggle[Int] =
    Toggles("com.twitter.finagle.netty4.UseNativeEpollV2")

  // evaluated once per VM for consistency between listeners, transporters + worker pool.
  lazy val enabled: Boolean = underlying(ServerInfo().id.hashCode) && Epoll.isAvailable
}
{'fraction_non_alphanumeric': 0.09811320754716982, 'fraction_numerical': 0.006603773584905661, 'mean_word_length': 5.50920245398773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4629222', 'n_tokens_mistral': 320, 'n_tokens_neox': 314, 'n_words': 73}