Comments (1)
I actually like the idea of having a timeout for this. I recently stumbled upon a similar situation.
Just to give a quick comparison, Go's official module proxy mirror responds almost immediately when we do: https://proxy.golang.org/github.com/grpc-ecosystem/grpc-gateway/v3/@v/list
(404)
On the other hand, https://athens.private.com/github.com/grpc-ecosystem/grpc-gateway/v3/@v/list
took ~9s to return 200. For bigger modules like aws-sdk-go
, it could take much longer as you described.
Response code aside, I'm not sure if Athens wants to do the same thing here. Maybe others can chime in.
Anyway, @colinodell i see that you're using Renovate for this from your user-agent. Here's how I reduced the response wait time when using Renovate (35.138.1-slim):
hostRules: [
{
hostType: "go-proxy",
description: "Avoid waiting 1 min/req to wait for go-proxy to respond if a module version list does not exist",
timeout: 5000, // milliseconds
},
],
I hope this can temporarily relieve the wait a bit for your use case
from athens.
Related Issues (20)
- govulncheck mirror HOT 1
- Go 1.22 support HOT 2
- Coupling of CloudRuntime (ATHENS_CLOUD_RUNTIME) config var with log formatting is unexpected HOT 2
- Remove Circle CI HOT 1
- Duplicate HTTP `Content-Type` header HOT 2
- support the git-credential-manager HOT 2
- Use AWS SDK v2 for Go HOT 7
- Serve a SumDB
- Add a splash page
- make test-e2e-docker fails
- Use $VERSION.zip instead of source.zip
- Migrate off of debian container image
- Retheme the docs site
- Improve the readme
- Introduction pages are broken
- List doesn't redirect
- Athens is creating unsigned requests to S3 buckets causing 403 errors HOT 4
- Make Stash timeout configurable
- Github token to access private github repos is not working HOT 5
- Storage limiting per-path HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from athens.