Skip to content

Commit 9a04b8e

Browse files
committed
Update chug text
1 parent 961ca8a commit 9a04b8e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ router.get('/', async (req, res) => {
183183
}
184184

185185
const isTraceDone = render()
186-
if (!isTraceDone) refreshInterval = setInterval(render, 1000)
186+
if (!isTraceDone) refreshInterval = setInterval(render, 100)
187187
})
188188
}
189189

src/templates/content.ejs

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<% } else if (isTraceDone) { %>
3535
<li class='no-response'>(no response)</li>
3636
<% } else { %>
37-
<% const secs = (Math.max(Date.now() - hop.since, 0) / 1000).toFixed(0) %>
37+
<% const secs = (Math.max(Date.now() - hop.since, 0) / 1000).toFixed(1) %>
3838
<% if (secs >= 1) { %>
3939
<li class='pending'>(waiting for reply... <%= secs %>s)</li>
4040
<% } else { %>
@@ -91,8 +91,8 @@
9191
</section>
9292
9393
<section class='text'>
94-
<p style='font-style: italic'>My server is chugging hard right now with a huge influx of traffic, so I lightly rearchitected this to still show the rest of the article below.</p>
95-
<p style='font-style: italic; margin-bottom: 32px;'>- Lexi, Dec 5, 10:51 AM EST</p>
94+
<p style='font-style: italic'>My server is still chugging kinda hard right now with the huge influx of traffic from Hacker News, so you may have to be a little patient with the above traceroute.</p>
95+
<p style='font-style: italic; margin-bottom: 32px;'>- Lexi, Dec 5, 5:44 PM EST</p>
9696
9797
<% if (pageGlobals.paragraphs || pageGlobals.error) { %>
9898
<% if (pageGlobals.error) { %>

0 commit comments

Comments
 (0)