How can I set server request timeout to 30 seconds limit in local for ruby on rails application?

1.4k views Asked by At

I'm debugging a issue for production.

Where the request takes more than 30s and it fails.

I'm trying to reproduce the issue on my local machine.

How can I set the request timeout to 30s in local.

Working on Ruby on Rails Application with puma.

1

There are 1 answers

0
Théo Dumez On

You can use rack-timeout gem.

Best, Théo