2 months ago
When I create a function service in any Railway project and import some basic libraries - Take "redis" for example. The web console will become slow and crash imminently. I cannot use or edit my functions.
Use this as a simple dummy test to reproduce. Create a function and paste this basic test code:
import { createClient } from "redis"; //*******PROBLEM LINE*********
console.log("--- Micro Redis Test ---");
const client = createClient({ url: "redis://localhost:6379" });
console.log[OK] Client Object Exists: ${!!client});
console.log[OK] Is Connected: ${client.isOpen});
console.log[LOG] Random Check: ${Math.random().toFixed(4)});
4 Replies
2 months ago
Can you clarify what you mean by console? Do you mean your browser's DevTools -> Console?
Status changed to Awaiting User Response Railway • about 2 months ago
ray-chen
Can you clarify what you mean by console? Do you mean your browser's DevTools -> Console?
2 months ago
Hi, I just meant the Railway web app. The website/UI/architecture project page is no longer usable - I beleive it is some sort of memory leak. Just try creating a function in any project and pasting the example code and saving. It will become extremely slow and then unresponsive in seconds
Status changed to Awaiting Railway Response Railway • about 2 months ago
2 months ago
Just try creating a function in any project and pasting the example code and saving. It will become extremely slow and then unresponsive in seconds
Managed to reproduce this, what a ...fun bug, lol.
Thank you for the report, I'll get this ticketed up!
Status changed to Awaiting User Response Railway • about 2 months ago
2 months ago
Hello!
We're acknowledging your issue and attaching a ticket to this thread.
We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.
Please reply to this thread if you have any questions!
