Skip to content

Commit 40a6367

Browse files
authored
chore: update CLAUDE.md to discourage time.Sleep (#18967)
1 parent 6d33591 commit 40a6367

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ app, err := api.Database.GetOAuth2ProviderAppByClientID(ctx, clientID)
107107
- Full suite: `./scripts/oauth2/test-mcp-oauth2.sh`
108108
- Manual testing: `./scripts/oauth2/test-manual-flow.sh`
109109

110+
### Timing Issues
111+
112+
NEVER use `time.Sleep` to mitigate timing issues. If an issue
113+
seems like it should use `time.Sleep`, read through https://github.com/coder/quartz and specifically the [README](https://github.com/coder/quartz/blob/main/README.md) to better understand how to handle timing issues.
114+
110115
## 🎯 Code Style
111116

112117
### Detailed guidelines in imported WORKFLOWS.md

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy