Skip to content

Commit

Permalink
fix for timeout plugin test
Browse files Browse the repository at this point in the history
  • Loading branch information
davegarvey committed May 14, 2020
1 parent 30e2d3e commit 9ff8788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/tyk/data/tyk-dashboard/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@
{
"path": "/delay/{time}",
"method": "GET",
"timeout": 3
"timeout": 4
}
],
"circuit_breakers": [
Expand Down
2 changes: 1 addition & 1 deletion tyk_demo.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
"6"
]
},
"description": "The Enforced Timeout plugin will return a response from the Gateway if the API server does not response within a set time. \n\nThis request calls the `/delay/6` endpoint, which has a 6 second delay before responding. The endpoint uses the Enforced Timeout plugin, which is configured for 3 seconds, so will repsond with a `504 Gateway Timeout` before the API server can provide a response."
"description": "The Enforced Timeout plugin will return an error response from the Gateway if the API server does not respond within a set time. \n\nThis request calls the `/delay/6` endpoint, which has a 6 second delay before responding. The endpoint uses the Enforced Timeout plugin, which is configured for 4 seconds, so will repsond with a `504 Gateway Timeout` before the API server can provide a response."
},
"response": []
},
Expand Down

0 comments on commit 9ff8788

Please sign in to comment.