1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

New port, www/rubygem-rack-timeout: Abort requests that are taking too long

Adding www/rubygem-rack-timeout, because it is a dependency of the upcoming
www/mastodon port.

WWW: http://github.com/heroku/rack-timeout/

Approved by:	swills (mentor, implicit)
This commit is contained in:
Joseph Mingrone 2017-04-14 12:18:18 +00:00
parent e8fd228526
commit ea0de7d066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438505
4 changed files with 32 additions and 0 deletions

View File

@ -2060,6 +2060,7 @@
SUBDIR += rubygem-rack-proxy
SUBDIR += rubygem-rack-ssl
SUBDIR += rubygem-rack-test
SUBDIR += rubygem-rack-timeout
SUBDIR += rubygem-rack15
SUBDIR += rubygem-rack16
SUBDIR += rubygem-rails4

View File

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= rack-timeout
PORTVERSION= 0.4.2
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= jrm@FreeBSD.org
COMMENT= Abort requests that are taking too long
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1492171633
SHA256 (rubygem/rack-timeout-0.4.2.gem) = b6268bba8794c702b024f835a0e1854a67d7e75cbd5323d982185fdd3fa2a153
SIZE (rubygem/rack-timeout-0.4.2.gem) = 22016

View File

@ -0,0 +1,9 @@
Rack::Timeout is middleware, which aborts requests that have been running for
longer than a specified timeout.
Rack::Timeout is not a solution to the problem of long-running requests, it is a
debug and remediation tool. Developers should track rack-timeout's data and
address recurring instances of particular timeouts, for example, by refactoring
code so it runs faster or offsetting lengthy work to happen asynchronously.
WWW: http://github.com/heroku/rack-timeout/