You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2>Is it TwitterServer or twitter-server?<aclass="headerlink" href="#is-it-twitterserver-or-twitter-server" title="Permalink to this headline">¶</a></h2>
55
55
<p>TwitterServer. We only use twitter-server in reference to the project’s code.</p>
<h2>What are some recommended best practices?<aclass="headerlink" href="#what-are-some-recommended-best-practices" title="Permalink to this headline">¶</a></h2>
59
59
<olclass="arabic simple">
60
-
<li>Override <codeclass="docutils literal notranslate"><spanclass="pre">com.twitter.app.App.failfastOnFlagsNotParsed</span></code> to <codeclass="docutils literal notranslate"><spanclass="pre">true</span></code>.
60
+
<li><p>Override <codeclass="docutils literal notranslate"><spanclass="pre">com.twitter.app.App.failfastOnFlagsNotParsed</span></code> to <codeclass="docutils literal notranslate"><spanclass="pre">true</span></code>.
61
61
This is so that you fail-fast instead of being surprised by code that is
62
-
reading from flags before they have been parsed.</li>
63
-
<li>Do not register application routes onto
62
+
reading from flags before they have been parsed.</p></li>
63
+
<li><p>Do not register application routes onto
64
64
<codeclass="docutils literal notranslate"><spanclass="pre">com.twitter.server.HttpMuxer$</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">com.twitter.server.AdminHttpServer$</span></code>
65
-
as that they are intended to be used for administration/internal pages.</li>
65
+
as that they are intended to be used for administration/internal pages.</p></li>
<h2>Do I have to use <cite>finagle-stats</cite>?<aclass="headerlink" href="#do-i-have-to-use-finagle-stats" title="Permalink to this headline">¶</a></h2>
70
70
<p>No, TwitterServer is agnostic to your metrics implementation.
71
71
However, some features are only available or work best when using that library.</p>
0 commit comments