DecryptTeamViewer icon indicating copy to clipboard operation
DecryptTeamViewer copied to clipboard

3 second sleep causes degraded performance

Open quinnypig opened this issue 3 years ago • 1 comments

In the interest of not pulling a Chesterton's Fence here, what's the purpose of this sleep? It's causing a delay on every fresh invocation outside of the TTL, and I can't find a reasonable race condition that it'd be defending against. Help?

https://github.com/ahmetb/sheets-url-shortener/blob/1e3f89d558fcbb00677300c1cdbeac499b9a1a88/main.go#L86

quinnypig avatar Jul 21 '22 19:07 quinnypig

There's a very good chance I left it in there for testing.

ahmetb avatar Jul 22 '22 05:07 ahmetb