HappyDeveloper
HappyDeveloper

Reputation: 12805

How to set an execution time limit in Ruby/Rails/Passenger/Nginx?

I'm not sure where this is handled.

I need the equivalent of PHP's set_time_limit(seconds)

I'm using Ruby Enterprise Edition, Passenger, and Nginx

Upvotes: 1

Views: 1927

Answers (1)

Hauleth
Hauleth

Reputation: 23586

There is Timeout class but IMHO it's very bad idea.

Upvotes: 1

Related Questions