Comments (2)
Is it not the responsibility of the client to do the timeout? cURL has a timeout flag that will stop the transfer after the timeout independent of what or where cURL is in the request. Other download tools like wget also have the timeout.
Putting the timeouts in the server makes it awkward on the user. If I want a page of 500 items and I have all day, then I expect to start the cURL and wait for it to finish even if it takes the whole day. If the server times out at 10 seconds, then how do I know how long it will take since intermediate information is lost? Do I try 30 seconds only to have it fail, then 60 seconds, then 120 seconds, etc until it finally works? That will be super annoying.
However, if I know I only have 10 seconds before I need the answer then I can set the timeout at the client to give up and then do something else. Or maybe I only have a minute or two.
from registry-api-service.
Issue moved to NASA-PDS/registry-api #15 via ZenHub
from registry-api-service.
Related Issues (20)
- double quotes are doubled in 'application/kvp+json' reponse format
- when fields are selected in the 'application/kvp+json' format some extra fields are found
- All the supported format don't show in the swagger-ui HOT 8
- If Elasticsearch is down on API server startup, it starts, but doesn't accept connections
- Default / XML output format doesn't work with JDK 11 HOT 3
- API unable to handle products with multiple file areas HOT 7
- As a user, I want to have singular urls when I should only expect a single element in the response HOT 1
- As a developer, I want to update in a single place the list of supported MIME types HOT 1
- Fix broken build per pds4+json PR merge HOT 1
- As a paginator, I want endpoints to consistently return no results when I page to the end of results HOT 1
- Add aws cost tagging and secret/parameter creation to ECS terraform script HOT 5
- simple url requested in a browser generate a 500 error HOT 8
- Support for node-specific routing in API paths HOT 2
- AWS target groups created in terraform do not have intended targets HOT 2
- service is not handling value of ES login correctly HOT 1
- api should handle request with no Accept header
- Registry API Service doesn't build anymore HOT 3
- As a user, I want to see the version of the API specification in the URL of the service HOT 1
- add creation of routing rule to terraform script HOT 1
- Revert ES High Level Java API version 7.13.3 HOT 3
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 registry-api-service.