Perhaps I'm being thick, but I don't see where you are setting @person in a route at all?
Sorry, juggling 6 things at work right now, or I would have a deeper look.
From: ruby-talk [mailto:email@example.com] On Behalf Of Leam Hall
Sent: 18 July 2019 12:30
To: Ruby users
Subject: Re: Simple Sinatra app speed based failure?
Also, the Sinatra console error. The first log was from the command line.:
On 7/18/19 7:27 AM, Leam Hall wrote:
Chris, I'm the only one making requests, and that is via the command
line and the up arrow. It would have to be pretty non-performant for that.
Here's an error listing:
I appreciate any insight you can provide!
On 7/18/19 7:18 AM, Chris Roerig wrote:
What error code is returned? Is this with only a single request to
that endpoint or is the app potentially being overwhelmed with inbound
On Thu, Jul 18, 2019 at 5:10 AM Leam Hall <firstname.lastname@example.org >> <mailto:email@example.com>> wrote:
I have a simple Sinatra based app:
That calls some defaults if data is not provided:
This morning I noticed that one set of basic tests would randomly
both, neither) fail:
At first I thought my RSpec-fu was weak, but using curl to test gave
In the speed_errors.txt log, the end column is "Current Speed". When
speed is between 49K and 70K, the form returns what it's supposed to.
However, when the speed is in excess of 300K, the form does not
properly, and the spec will either show a data failure, or a return
Click here to view Company Information and Confidentiality Notice.<http://www.jameshall.co.uk/index.php/small-print/email-disclaimer>