Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 second sleep causes degraded performance #2

Open
QuinnyPig opened this issue Jul 21, 2022 · 1 comment
Open

3 second sleep causes degraded performance #2

QuinnyPig opened this issue Jul 21, 2022 · 1 comment

Comments

@QuinnyPig
Copy link

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?

time.Sleep(time.Second * 3)

@ahmetb
Copy link
Owner

ahmetb commented Jul 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants