Skip to content

About

Set a different request timeout per API route without redeploying: a runnable two-route Gregale edge rule drill

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Request budgets per API route

Guide: Set a request timeout per API route without redeploying.

Use the Gregale CLI, Bash, curl, jq and OpenSSL. Export a GREGALE_TOKEN for a disposable workspace with permission to create, deploy, configure and delete an app. Extract the archive and run bash run-demo.sh.

The starter creates one new public app with two harmless endpoints that wait two seconds before sending headers. It checks both before adding rules, checks that search returns Gregale's specific 503 while report completes, then updates only the search rule and verifies both return app-owned responses again. The same app deployment must serve 100% throughout. No database, external service, custom domain or production data is used.

This is an execution-budget drill, not an end-to-end latency benchmark or a guarantee that a timeout cancels application work.

About

Set a different request timeout per API route without redeploying: a runnable two-route Gregale edge rule drill

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages