limit-request-line parameter
I've got a flask app running with a procfile. What parameters does railway accept in the procfile?
I've tried to configure limit-request-line=8190, however this doesn't seem to register in the deploys.
37 Replies
Project ID:
N/A
railway only has very basic support for the procfile, web and worker are treated the same, etc
Got it. Is there an alternative for configuring the request line limit?
tbh I have absolutely no clue what that even is, tell me what it is and maybe I could tell you a different way to do it?
Sure. The requests I'm sending to the app are too long.
The default character limit is ~4k
I'm sorry, I've misunderstood this, this isn't really about a Procfile, this is a gunicorn config flag right?
sorry - not sure what you mean?
show me your current Procfile please
isn't a procfile the config file for my gunicorn?
not quite how that works
web: gunicorn app:app --limit-request-line=8190 --worker-connections=50 --workers=5
had to switch back to heroku since this bug was crashing prod and I couldn't figure it out in ~30m.
okay so that all looks good
can you show me your build table at the top of the build logs please?
Also I should be on a dev plan - not sure why my flair is listed as hobby
yup - 1 sec
haha that's just a simple name change, since the developer plan will be completely phasesd out August 1st, there was no big need to make separate badges
Ahh
yeah, it's not showing up in the build logs
that's a completely different start command than the start command in the procfile you just sent
bloop
there's a few things that can cause this, let's work through them
yeah, alright what am i doing. gimme a sec.
are you deploying from the correct repo and branch?
i am. figured it out.
Solution
looks like i have the start command hardcoded somehow
that was on the checklist haha, glad you got it figured out!
where's my confetti
can i just clear that and rely on the procfile
🥳🥳🥳
absolutely
alright let's see if i can get this to work again
For reference, this is how my day is looking on heroku
194 user-facing timeouts. love my life.
what size Dyno are you on?
2x
But also my product was discovered by the country of India, again.
well the pro plan sure gives you a whole lot more resources than the 2x dyno
that it does.
is railway using the start command in the procfile now?
I think so. Going to test re-routing traffic back to the railway endpoint.
$1500 revenue last month 🎊
that's awesome!! and if you have any more questions feel free to ask 🙂